modal 0.68.21__py3-none-any.whl → 0.68.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
modal_proto/api_pb2.pyi CHANGED
@@ -1036,6 +1036,61 @@ class AppHeartbeatRequest(google.protobuf.message.Message):
1036
1036
 
1037
1037
  global___AppHeartbeatRequest = AppHeartbeatRequest
1038
1038
 
1039
+ class AppLayout(google.protobuf.message.Message):
1040
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1041
+
1042
+ class FunctionIdsEntry(google.protobuf.message.Message):
1043
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1044
+
1045
+ KEY_FIELD_NUMBER: builtins.int
1046
+ VALUE_FIELD_NUMBER: builtins.int
1047
+ key: builtins.str
1048
+ value: builtins.str
1049
+ def __init__(
1050
+ self,
1051
+ *,
1052
+ key: builtins.str = ...,
1053
+ value: builtins.str = ...,
1054
+ ) -> None: ...
1055
+ def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
1056
+
1057
+ class ClassIdsEntry(google.protobuf.message.Message):
1058
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1059
+
1060
+ KEY_FIELD_NUMBER: builtins.int
1061
+ VALUE_FIELD_NUMBER: builtins.int
1062
+ key: builtins.str
1063
+ value: builtins.str
1064
+ def __init__(
1065
+ self,
1066
+ *,
1067
+ key: builtins.str = ...,
1068
+ value: builtins.str = ...,
1069
+ ) -> None: ...
1070
+ def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
1071
+
1072
+ OBJECT_FIELD_NUMBER: builtins.int
1073
+ FUNCTION_IDS_FIELD_NUMBER: builtins.int
1074
+ CLASS_IDS_FIELD_NUMBER: builtins.int
1075
+ @property
1076
+ def object(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Object]: ...
1077
+ @property
1078
+ def function_ids(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
1079
+ """tag -> function id"""
1080
+ @property
1081
+ def class_ids(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
1082
+ """tag -> class id"""
1083
+ def __init__(
1084
+ self,
1085
+ *,
1086
+ object: collections.abc.Iterable[global___Object] | None = ...,
1087
+ function_ids: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
1088
+ class_ids: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
1089
+ ) -> None: ...
1090
+ def ClearField(self, field_name: typing_extensions.Literal["class_ids", b"class_ids", "function_ids", b"function_ids", "object", b"object"]) -> None: ...
1091
+
1092
+ global___AppLayout = AppLayout
1093
+
1039
1094
  class AppListRequest(google.protobuf.message.Message):
1040
1095
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
1041
1096
 
@@ -2199,6 +2254,7 @@ class ContainerArguments(google.protobuf.message.Message):
2199
2254
  RUNTIME_FIELD_NUMBER: builtins.int
2200
2255
  ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
2201
2256
  CHECKPOINT_ID_FIELD_NUMBER: builtins.int
2257
+ APP_LAYOUT_FIELD_NUMBER: builtins.int
2202
2258
  task_id: builtins.str
2203
2259
  function_id: builtins.str
2204
2260
  app_id: builtins.str
@@ -2212,6 +2268,8 @@ class ContainerArguments(google.protobuf.message.Message):
2212
2268
  runtime: builtins.str
2213
2269
  environment_name: builtins.str
2214
2270
  checkpoint_id: builtins.str
2271
+ @property
2272
+ def app_layout(self) -> global___AppLayout: ...
2215
2273
  def __init__(
2216
2274
  self,
2217
2275
  *,
@@ -2225,9 +2283,10 @@ class ContainerArguments(google.protobuf.message.Message):
2225
2283
  runtime: builtins.str = ...,
2226
2284
  environment_name: builtins.str = ...,
2227
2285
  checkpoint_id: builtins.str | None = ...,
2286
+ app_layout: global___AppLayout | None = ...,
2228
2287
  ) -> None: ...
2229
- def HasField(self, field_name: typing_extensions.Literal["_checkpoint_id", b"_checkpoint_id", "checkpoint_id", b"checkpoint_id", "function_def", b"function_def", "proxy_info", b"proxy_info"]) -> builtins.bool: ...
2230
- def ClearField(self, field_name: typing_extensions.Literal["_checkpoint_id", b"_checkpoint_id", "app_id", b"app_id", "checkpoint_id", b"checkpoint_id", "environment_name", b"environment_name", "function_def", b"function_def", "function_id", b"function_id", "proxy_info", b"proxy_info", "runtime", b"runtime", "serialized_params", b"serialized_params", "task_id", b"task_id", "tracing_context", b"tracing_context"]) -> None: ...
2288
+ def HasField(self, field_name: typing_extensions.Literal["_checkpoint_id", b"_checkpoint_id", "app_layout", b"app_layout", "checkpoint_id", b"checkpoint_id", "function_def", b"function_def", "proxy_info", b"proxy_info"]) -> builtins.bool: ...
2289
+ def ClearField(self, field_name: typing_extensions.Literal["_checkpoint_id", b"_checkpoint_id", "app_id", b"app_id", "app_layout", b"app_layout", "checkpoint_id", b"checkpoint_id", "environment_name", b"environment_name", "function_def", b"function_def", "function_id", b"function_id", "proxy_info", b"proxy_info", "runtime", b"runtime", "serialized_params", b"serialized_params", "task_id", b"task_id", "tracing_context", b"tracing_context"]) -> None: ...
2231
2290
  def WhichOneof(self, oneof_group: typing_extensions.Literal["_checkpoint_id", b"_checkpoint_id"]) -> typing_extensions.Literal["checkpoint_id"] | None: ...
2232
2291
 
2233
2292
  global___ContainerArguments = ContainerArguments
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2024
2
2
 
3
3
  # Note: Reset this value to -1 whenever you make a minor `0.X` release of the client.
4
- build_number = 21 # git: 4b2e2f0
4
+ build_number = 23 # git: 5b6f978