Skip to content

Commit

Permalink
Revert type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
devennavani committed Aug 5, 2024
1 parent cbc3351 commit 7d4158c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modal/_utils/function_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class FunctionInfoType(Enum):
NOTEBOOK = "notebook"


CLASS_PARAM_TYPE_MAP: Dict[Type, Tuple[api_pb2.ParameterType, str]] = {
CLASS_PARAM_TYPE_MAP: Dict[Type, Tuple[api_pb2.ParameterType.ValueType, str]] = {
str: (api_pb2.PARAM_TYPE_STRING, "string_default"),
int: (api_pb2.PARAM_TYPE_INT, "int_default"),
}
Expand Down

0 comments on commit 7d4158c

Please sign in to comment.