modal 1.0.0.dev11__py3-none-any.whl → 1.0.0.dev12__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.
Potentially problematic release.
This version of modal might be problematic. Click here for more details.
- modal/client.pyi +2 -2
- {modal-1.0.0.dev11.dist-info → modal-1.0.0.dev12.dist-info}/METADATA +1 -1
- {modal-1.0.0.dev11.dist-info → modal-1.0.0.dev12.dist-info}/RECORD +11 -11
- modal_proto/api.proto +8 -0
- modal_proto/api_pb2.py +574 -574
- modal_proto/api_pb2.pyi +21 -3
- modal_version/__init__.py +1 -1
- {modal-1.0.0.dev11.dist-info → modal-1.0.0.dev12.dist-info}/WHEEL +0 -0
- {modal-1.0.0.dev11.dist-info → modal-1.0.0.dev12.dist-info}/entry_points.txt +0 -0
- {modal-1.0.0.dev11.dist-info → modal-1.0.0.dev12.dist-info}/licenses/LICENSE +0 -0
- {modal-1.0.0.dev11.dist-info → modal-1.0.0.dev12.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -4173,6 +4173,7 @@ class Function(google.protobuf.message.Message):
|
|
4173
4173
|
AUTOSCALER_SETTINGS_FIELD_NUMBER: builtins.int
|
4174
4174
|
FUNCTION_SCHEMA_FIELD_NUMBER: builtins.int
|
4175
4175
|
EXPERIMENTAL_OPTIONS_FIELD_NUMBER: builtins.int
|
4176
|
+
MOUNT_CLIENT_DEPENDENCIES_FIELD_NUMBER: builtins.int
|
4176
4177
|
module_name: builtins.str
|
4177
4178
|
function_name: builtins.str
|
4178
4179
|
@property
|
@@ -4301,6 +4302,10 @@ class Function(google.protobuf.message.Message):
|
|
4301
4302
|
Note the value type as string. Internally we'll coerce all values to string with str().
|
4302
4303
|
On the server, it's necessary to convert back to the most natural type (e.g. int) when relevant.
|
4303
4304
|
"""
|
4305
|
+
mount_client_dependencies: builtins.bool
|
4306
|
+
"""If set, client deps will be mounted into the container, and are
|
4307
|
+
no longer expected to exist in the image itself.
|
4308
|
+
"""
|
4304
4309
|
def __init__(
|
4305
4310
|
self,
|
4306
4311
|
*,
|
@@ -4372,9 +4377,10 @@ class Function(google.protobuf.message.Message):
|
|
4372
4377
|
autoscaler_settings: global___AutoscalerSettings | None = ...,
|
4373
4378
|
function_schema: global___FunctionSchema | None = ...,
|
4374
4379
|
experimental_options: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
4380
|
+
mount_client_dependencies: builtins.bool = ...,
|
4375
4381
|
) -> None: ...
|
4376
4382
|
def HasField(self, field_name: typing_extensions.Literal["X_experimental_proxy_ip", b"X_experimental_proxy_ip", "_cloud_provider", b"_cloud_provider", "_experimental_proxy_ip", b"_experimental_proxy_ip", "_proxy_id", b"_proxy_id", "_scheduler_placement", b"_scheduler_placement", "autoscaler_settings", b"autoscaler_settings", "checkpoint", b"checkpoint", "class_parameter_info", b"class_parameter_info", "cloud_provider", b"cloud_provider", "function_schema", b"function_schema", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "rate_limit", b"rate_limit", "resources", b"resources", "retry_policy", b"retry_policy", "schedule", b"schedule", "scheduler_placement", b"scheduler_placement", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config"]) -> builtins.bool: ...
|
4377
|
-
def ClearField(self, field_name: typing_extensions.Literal["X_experimental_proxy_ip", b"X_experimental_proxy_ip", "_cloud_provider", b"_cloud_provider", "_experimental_buffer_containers", b"_experimental_buffer_containers", "_experimental_concurrent_cancellations", b"_experimental_concurrent_cancellations", "_experimental_custom_scaling", b"_experimental_custom_scaling", "_experimental_enable_gpu_snapshot", b"_experimental_enable_gpu_snapshot", "_experimental_group_size", b"_experimental_group_size", "_experimental_proxy_ip", b"_experimental_proxy_ip", "_experimental_task_templates", b"_experimental_task_templates", "_experimental_task_templates_enabled", b"_experimental_task_templates_enabled", "_proxy_id", b"_proxy_id", "_scheduler_placement", b"_scheduler_placement", "app_name", b"app_name", "autoscaler_settings", b"autoscaler_settings", "batch_linger_ms", b"batch_linger_ms", "batch_max_size", b"batch_max_size", "block_network", b"block_network", "checkpoint", b"checkpoint", "checkpointing_enabled", b"checkpointing_enabled", "class_parameter_info", b"class_parameter_info", "class_serialized", b"class_serialized", "cloud_bucket_mounts", b"cloud_bucket_mounts", "cloud_provider", b"cloud_provider", "cloud_provider_str", b"cloud_provider_str", "concurrency_limit", b"concurrency_limit", "custom_domain_info", b"custom_domain_info", "definition_type", b"definition_type", "experimental_options", b"experimental_options", "function_name", b"function_name", "function_schema", b"function_schema", "function_serialized", b"function_serialized", "function_type", b"function_type", "i6pn_enabled", b"i6pn_enabled", "image_id", b"image_id", "is_auto_snapshot", b"is_auto_snapshot", "is_builder_function", b"is_builder_function", "is_checkpointing_function", b"is_checkpointing_function", "is_class", b"is_class", "is_method", b"is_method", "max_concurrent_inputs", b"max_concurrent_inputs", "max_inputs", b"max_inputs", "method_definitions", b"method_definitions", "method_definitions_set", b"method_definitions_set", "module_name", b"module_name", "mount_ids", b"mount_ids", "object_dependencies", b"object_dependencies", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "rate_limit", b"rate_limit", "resources", b"resources", "retry_policy", b"retry_policy", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "runtime_perf_record", b"runtime_perf_record", "s3_mounts", b"s3_mounts", "schedule", b"schedule", "scheduler_placement", b"scheduler_placement", "secret_ids", b"secret_ids", "shared_volume_mounts", b"shared_volume_mounts", "snapshot_debug", b"snapshot_debug", "target_concurrent_inputs", b"target_concurrent_inputs", "task_idle_timeout_secs", b"task_idle_timeout_secs", "timeout_secs", b"timeout_secs", "untrusted", b"untrusted", "use_function_id", b"use_function_id", "use_method_name", b"use_method_name", "volume_mounts", b"volume_mounts", "warm_pool_size", b"warm_pool_size", "web_url", b"web_url", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config", "worker_id", b"worker_id"]) -> None: ...
|
4383
|
+
def ClearField(self, field_name: typing_extensions.Literal["X_experimental_proxy_ip", b"X_experimental_proxy_ip", "_cloud_provider", b"_cloud_provider", "_experimental_buffer_containers", b"_experimental_buffer_containers", "_experimental_concurrent_cancellations", b"_experimental_concurrent_cancellations", "_experimental_custom_scaling", b"_experimental_custom_scaling", "_experimental_enable_gpu_snapshot", b"_experimental_enable_gpu_snapshot", "_experimental_group_size", b"_experimental_group_size", "_experimental_proxy_ip", b"_experimental_proxy_ip", "_experimental_task_templates", b"_experimental_task_templates", "_experimental_task_templates_enabled", b"_experimental_task_templates_enabled", "_proxy_id", b"_proxy_id", "_scheduler_placement", b"_scheduler_placement", "app_name", b"app_name", "autoscaler_settings", b"autoscaler_settings", "batch_linger_ms", b"batch_linger_ms", "batch_max_size", b"batch_max_size", "block_network", b"block_network", "checkpoint", b"checkpoint", "checkpointing_enabled", b"checkpointing_enabled", "class_parameter_info", b"class_parameter_info", "class_serialized", b"class_serialized", "cloud_bucket_mounts", b"cloud_bucket_mounts", "cloud_provider", b"cloud_provider", "cloud_provider_str", b"cloud_provider_str", "concurrency_limit", b"concurrency_limit", "custom_domain_info", b"custom_domain_info", "definition_type", b"definition_type", "experimental_options", b"experimental_options", "function_name", b"function_name", "function_schema", b"function_schema", "function_serialized", b"function_serialized", "function_type", b"function_type", "i6pn_enabled", b"i6pn_enabled", "image_id", b"image_id", "is_auto_snapshot", b"is_auto_snapshot", "is_builder_function", b"is_builder_function", "is_checkpointing_function", b"is_checkpointing_function", "is_class", b"is_class", "is_method", b"is_method", "max_concurrent_inputs", b"max_concurrent_inputs", "max_inputs", b"max_inputs", "method_definitions", b"method_definitions", "method_definitions_set", b"method_definitions_set", "module_name", b"module_name", "mount_client_dependencies", b"mount_client_dependencies", "mount_ids", b"mount_ids", "object_dependencies", b"object_dependencies", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "rate_limit", b"rate_limit", "resources", b"resources", "retry_policy", b"retry_policy", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "runtime_perf_record", b"runtime_perf_record", "s3_mounts", b"s3_mounts", "schedule", b"schedule", "scheduler_placement", b"scheduler_placement", "secret_ids", b"secret_ids", "shared_volume_mounts", b"shared_volume_mounts", "snapshot_debug", b"snapshot_debug", "target_concurrent_inputs", b"target_concurrent_inputs", "task_idle_timeout_secs", b"task_idle_timeout_secs", "timeout_secs", b"timeout_secs", "untrusted", b"untrusted", "use_function_id", b"use_function_id", "use_method_name", b"use_method_name", "volume_mounts", b"volume_mounts", "warm_pool_size", b"warm_pool_size", "web_url", b"web_url", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config", "worker_id", b"worker_id"]) -> None: ...
|
4378
4384
|
@typing.overload
|
4379
4385
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["X_experimental_proxy_ip", b"X_experimental_proxy_ip"]) -> typing_extensions.Literal["_experimental_proxy_ip"] | None: ...
|
4380
4386
|
@typing.overload
|
@@ -6276,6 +6282,8 @@ class ImageMetadata(google.protobuf.message.Message):
|
|
6276
6282
|
PYTHON_VERSION_INFO_FIELD_NUMBER: builtins.int
|
6277
6283
|
PYTHON_PACKAGES_FIELD_NUMBER: builtins.int
|
6278
6284
|
WORKDIR_FIELD_NUMBER: builtins.int
|
6285
|
+
LIBC_VERSION_INFO_FIELD_NUMBER: builtins.int
|
6286
|
+
IMAGE_BUILDER_VERSION_FIELD_NUMBER: builtins.int
|
6279
6287
|
python_version_info: builtins.str
|
6280
6288
|
"""The output of `python -VV. Not set if missing"""
|
6281
6289
|
@property
|
@@ -6285,15 +6293,25 @@ class ImageMetadata(google.protobuf.message.Message):
|
|
6285
6293
|
"""
|
6286
6294
|
workdir: builtins.str
|
6287
6295
|
"""The work directory of the image, defaulting to "/". Not set if missing"""
|
6296
|
+
libc_version_info: builtins.str
|
6297
|
+
"""The image's libc version"""
|
6298
|
+
image_builder_version: builtins.str
|
6299
|
+
"""The builder version for/with which the image was created."""
|
6288
6300
|
def __init__(
|
6289
6301
|
self,
|
6290
6302
|
*,
|
6291
6303
|
python_version_info: builtins.str | None = ...,
|
6292
6304
|
python_packages: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
6293
6305
|
workdir: builtins.str | None = ...,
|
6306
|
+
libc_version_info: builtins.str | None = ...,
|
6307
|
+
image_builder_version: builtins.str | None = ...,
|
6294
6308
|
) -> None: ...
|
6295
|
-
def HasField(self, field_name: typing_extensions.Literal["_python_version_info", b"_python_version_info", "_workdir", b"_workdir", "python_version_info", b"python_version_info", "workdir", b"workdir"]) -> builtins.bool: ...
|
6296
|
-
def ClearField(self, field_name: typing_extensions.Literal["_python_version_info", b"_python_version_info", "_workdir", b"_workdir", "python_packages", b"python_packages", "python_version_info", b"python_version_info", "workdir", b"workdir"]) -> None: ...
|
6309
|
+
def HasField(self, field_name: typing_extensions.Literal["_image_builder_version", b"_image_builder_version", "_libc_version_info", b"_libc_version_info", "_python_version_info", b"_python_version_info", "_workdir", b"_workdir", "image_builder_version", b"image_builder_version", "libc_version_info", b"libc_version_info", "python_version_info", b"python_version_info", "workdir", b"workdir"]) -> builtins.bool: ...
|
6310
|
+
def ClearField(self, field_name: typing_extensions.Literal["_image_builder_version", b"_image_builder_version", "_libc_version_info", b"_libc_version_info", "_python_version_info", b"_python_version_info", "_workdir", b"_workdir", "image_builder_version", b"image_builder_version", "libc_version_info", b"libc_version_info", "python_packages", b"python_packages", "python_version_info", b"python_version_info", "workdir", b"workdir"]) -> None: ...
|
6311
|
+
@typing.overload
|
6312
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_image_builder_version", b"_image_builder_version"]) -> typing_extensions.Literal["image_builder_version"] | None: ...
|
6313
|
+
@typing.overload
|
6314
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_libc_version_info", b"_libc_version_info"]) -> typing_extensions.Literal["libc_version_info"] | None: ...
|
6297
6315
|
@typing.overload
|
6298
6316
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_python_version_info", b"_python_version_info"]) -> typing_extensions.Literal["python_version_info"] | None: ...
|
6299
6317
|
@typing.overload
|
modal_version/__init__.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|