Skip to content

Commit

Permalink
CLI-319: Add PARAM_TYPE_PICKLE to proto (#2805)
Browse files Browse the repository at this point in the history
  • Loading branch information
kramstrom authored Jan 24, 2025
1 parent 8fd5e02 commit 432126d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ enum ParameterType {
PARAM_TYPE_UNSPECIFIED = 0;
PARAM_TYPE_STRING = 1;
PARAM_TYPE_INT = 2;
PARAM_TYPE_PICKLE = 3;
}

enum ProgressType {
Expand Down Expand Up @@ -681,6 +682,7 @@ message ClassParameterSpec {
oneof default_oneof {
string string_default = 4;
int64 int_default = 5;
bytes pickle_default = 6;
}
}

Expand All @@ -693,6 +695,7 @@ message ClassParameterValue {
oneof value_oneof {
string string_value = 3;
int64 int_value = 4;
bytes pickle_value = 5;
}
}

Expand Down

0 comments on commit 432126d

Please sign in to comment.