modal 0.66.25__py3-none-any.whl → 0.66.35__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
@@ -5205,9 +5205,12 @@ class Image(google.protobuf.message.Message):
5205
5205
  CONTEXT_FILES_FIELD_NUMBER: builtins.int
5206
5206
  VERSION_FIELD_NUMBER: builtins.int
5207
5207
  SECRET_IDS_FIELD_NUMBER: builtins.int
5208
+ GPU_FIELD_NUMBER: builtins.int
5208
5209
  CONTEXT_MOUNT_ID_FIELD_NUMBER: builtins.int
5209
5210
  GPU_CONFIG_FIELD_NUMBER: builtins.int
5210
5211
  IMAGE_REGISTRY_CONFIG_FIELD_NUMBER: builtins.int
5212
+ BUILD_FUNCTION_DEF_FIELD_NUMBER: builtins.int
5213
+ BUILD_FUNCTION_GLOBALS_FIELD_NUMBER: builtins.int
5211
5214
  RUNTIME_FIELD_NUMBER: builtins.int
5212
5215
  RUNTIME_DEBUG_FIELD_NUMBER: builtins.int
5213
5216
  BUILD_FUNCTION_FIELD_NUMBER: builtins.int
@@ -5220,11 +5223,21 @@ class Image(google.protobuf.message.Message):
5220
5223
  version: builtins.str
5221
5224
  @property
5222
5225
  def secret_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
5226
+ gpu: builtins.bool
5227
+ """Part of Image definition, because presence of GPU drivers
5228
+ affects the image that's built.
5229
+ Note: field 13 is getting replaced field 16. The client now sends both fields,
5230
+ but the server still only reads field 13.
5231
+ """
5223
5232
  context_mount_id: builtins.str
5224
5233
  @property
5225
5234
  def gpu_config(self) -> global___GPUConfig: ...
5226
5235
  @property
5227
5236
  def image_registry_config(self) -> global___ImageRegistryConfig: ...
5237
+ build_function_def: builtins.str
5238
+ """deprecated after 0.58.96"""
5239
+ build_function_globals: builtins.bytes
5240
+ """deprecated after 0.58.96"""
5228
5241
  runtime: builtins.str
5229
5242
  """If set, overrides the runtime used by the function. Specify either "runc" or "gvisor"."""
5230
5243
  runtime_debug: builtins.bool
@@ -5239,15 +5252,18 @@ class Image(google.protobuf.message.Message):
5239
5252
  context_files: collections.abc.Iterable[global___ImageContextFile] | None = ...,
5240
5253
  version: builtins.str = ...,
5241
5254
  secret_ids: collections.abc.Iterable[builtins.str] | None = ...,
5255
+ gpu: builtins.bool = ...,
5242
5256
  context_mount_id: builtins.str = ...,
5243
5257
  gpu_config: global___GPUConfig | None = ...,
5244
5258
  image_registry_config: global___ImageRegistryConfig | None = ...,
5259
+ build_function_def: builtins.str = ...,
5260
+ build_function_globals: builtins.bytes = ...,
5245
5261
  runtime: builtins.str = ...,
5246
5262
  runtime_debug: builtins.bool = ...,
5247
5263
  build_function: global___BuildFunction | None = ...,
5248
5264
  ) -> None: ...
5249
5265
  def HasField(self, field_name: typing_extensions.Literal["build_function", b"build_function", "gpu_config", b"gpu_config", "image_registry_config", b"image_registry_config"]) -> builtins.bool: ...
5250
- def ClearField(self, field_name: typing_extensions.Literal["base_images", b"base_images", "build_function", b"build_function", "context_files", b"context_files", "context_mount_id", b"context_mount_id", "dockerfile_commands", b"dockerfile_commands", "gpu_config", b"gpu_config", "image_registry_config", b"image_registry_config", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "secret_ids", b"secret_ids", "version", b"version"]) -> None: ...
5266
+ def ClearField(self, field_name: typing_extensions.Literal["base_images", b"base_images", "build_function", b"build_function", "build_function_def", b"build_function_def", "build_function_globals", b"build_function_globals", "context_files", b"context_files", "context_mount_id", b"context_mount_id", "dockerfile_commands", b"dockerfile_commands", "gpu", b"gpu", "gpu_config", b"gpu_config", "image_registry_config", b"image_registry_config", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "secret_ids", b"secret_ids", "version", b"version"]) -> None: ...
5251
5267
 
5252
5268
  global___Image = Image
5253
5269
 
@@ -5531,6 +5547,7 @@ class MethodDefinition(google.protobuf.message.Message):
5531
5547
  WEBHOOK_CONFIG_FIELD_NUMBER: builtins.int
5532
5548
  WEB_URL_FIELD_NUMBER: builtins.int
5533
5549
  WEB_URL_INFO_FIELD_NUMBER: builtins.int
5550
+ CUSTOM_DOMAIN_INFO_FIELD_NUMBER: builtins.int
5534
5551
  function_name: builtins.str
5535
5552
  function_type: global___Function.FunctionType.ValueType
5536
5553
  @property
@@ -5538,6 +5555,8 @@ class MethodDefinition(google.protobuf.message.Message):
5538
5555
  web_url: builtins.str
5539
5556
  @property
5540
5557
  def web_url_info(self) -> global___WebUrlInfo: ...
5558
+ @property
5559
+ def custom_domain_info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CustomDomainInfo]: ...
5541
5560
  def __init__(
5542
5561
  self,
5543
5562
  *,
@@ -5546,9 +5565,10 @@ class MethodDefinition(google.protobuf.message.Message):
5546
5565
  webhook_config: global___WebhookConfig | None = ...,
5547
5566
  web_url: builtins.str = ...,
5548
5567
  web_url_info: global___WebUrlInfo | None = ...,
5568
+ custom_domain_info: collections.abc.Iterable[global___CustomDomainInfo] | None = ...,
5549
5569
  ) -> None: ...
5550
5570
  def HasField(self, field_name: typing_extensions.Literal["web_url_info", b"web_url_info", "webhook_config", b"webhook_config"]) -> builtins.bool: ...
5551
- def ClearField(self, field_name: typing_extensions.Literal["function_name", b"function_name", "function_type", b"function_type", "web_url", b"web_url", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config"]) -> None: ...
5571
+ def ClearField(self, field_name: typing_extensions.Literal["custom_domain_info", b"custom_domain_info", "function_name", b"function_name", "function_type", b"function_type", "web_url", b"web_url", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config"]) -> None: ...
5552
5572
 
5553
5573
  global___MethodDefinition = MethodDefinition
5554
5574
 
@@ -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 = 25 # git: 1e79e82
4
+ build_number = 35 # git: c5bb31c