modal 0.68.11__py3-none-any.whl → 0.68.24__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
@@ -8662,6 +8721,7 @@ class WebhookConfig(google.protobuf.message.Message):
8662
8721
  WEB_SERVER_PORT_FIELD_NUMBER: builtins.int
8663
8722
  WEB_SERVER_STARTUP_TIMEOUT_FIELD_NUMBER: builtins.int
8664
8723
  WEB_ENDPOINT_DOCS_FIELD_NUMBER: builtins.int
8724
+ REQUIRES_PROXY_AUTH_FIELD_NUMBER: builtins.int
8665
8725
  type: global___WebhookType.ValueType
8666
8726
  method: builtins.str
8667
8727
  requested_suffix: builtins.str
@@ -8671,6 +8731,7 @@ class WebhookConfig(google.protobuf.message.Message):
8671
8731
  web_server_port: builtins.int
8672
8732
  web_server_startup_timeout: builtins.float
8673
8733
  web_endpoint_docs: builtins.bool
8734
+ requires_proxy_auth: builtins.bool
8674
8735
  def __init__(
8675
8736
  self,
8676
8737
  *,
@@ -8682,8 +8743,9 @@ class WebhookConfig(google.protobuf.message.Message):
8682
8743
  web_server_port: builtins.int = ...,
8683
8744
  web_server_startup_timeout: builtins.float = ...,
8684
8745
  web_endpoint_docs: builtins.bool = ...,
8746
+ requires_proxy_auth: builtins.bool = ...,
8685
8747
  ) -> None: ...
8686
- def ClearField(self, field_name: typing_extensions.Literal["async_mode", b"async_mode", "custom_domains", b"custom_domains", "method", b"method", "requested_suffix", b"requested_suffix", "type", b"type", "web_endpoint_docs", b"web_endpoint_docs", "web_server_port", b"web_server_port", "web_server_startup_timeout", b"web_server_startup_timeout"]) -> None: ...
8748
+ def ClearField(self, field_name: typing_extensions.Literal["async_mode", b"async_mode", "custom_domains", b"custom_domains", "method", b"method", "requested_suffix", b"requested_suffix", "requires_proxy_auth", b"requires_proxy_auth", "type", b"type", "web_endpoint_docs", b"web_endpoint_docs", "web_server_port", b"web_server_port", "web_server_startup_timeout", b"web_server_startup_timeout"]) -> None: ...
8687
8749
 
8688
8750
  global___WebhookConfig = WebhookConfig
8689
8751
 
@@ -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 = 11 # git: 51e786f
4
+ build_number = 24 # git: da5127e