Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
devennavani committed Aug 5, 2024
1 parent 09c6b28 commit 1823696
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.ValueType, str]] = {
CLASS_PARAM_TYPE_MAP: Dict[Type, Tuple[api_pb2.ParameterType, str]] = {
str: (api_pb2.PARAM_TYPE_STRING, "string_default"),
int: (api_pb2.PARAM_TYPE_INT, "int_default"),
}
Expand Down

0 comments on commit 1823696

Please sign in to comment.