modal 1.0.3.dev2__py3-none-any.whl → 1.0.3.dev5__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/cli/volume.py +4 -0
- modal/client.pyi +2 -2
- modal/functions.pyi +6 -6
- modal/volume.py +2 -0
- modal/volume.pyi +2 -0
- {modal-1.0.3.dev2.dist-info → modal-1.0.3.dev5.dist-info}/METADATA +1 -1
- {modal-1.0.3.dev2.dist-info → modal-1.0.3.dev5.dist-info}/RECORD +15 -15
- modal_proto/api.proto +9 -2
- modal_proto/api_pb2.py +591 -585
- modal_proto/api_pb2.pyi +25 -4
- modal_version/__init__.py +1 -1
- {modal-1.0.3.dev2.dist-info → modal-1.0.3.dev5.dist-info}/WHEEL +0 -0
- {modal-1.0.3.dev2.dist-info → modal-1.0.3.dev5.dist-info}/entry_points.txt +0 -0
- {modal-1.0.3.dev2.dist-info → modal-1.0.3.dev5.dist-info}/licenses/LICENSE +0 -0
- {modal-1.0.3.dev2.dist-info → modal-1.0.3.dev5.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -676,6 +676,23 @@ TASK_STATE_PREEMPTED: TaskState.ValueType # 10
|
|
676
676
|
TASK_STATE_LOADING_CHECKPOINT_IMAGE: TaskState.ValueType # 11
|
677
677
|
global___TaskState = TaskState
|
678
678
|
|
679
|
+
class _TunnelType:
|
680
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
681
|
+
V: typing_extensions.TypeAlias = ValueType
|
682
|
+
|
683
|
+
class _TunnelTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TunnelType.ValueType], builtins.type): # noqa: F821
|
684
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
685
|
+
TUNNEL_TYPE_UNSPECIFIED: _TunnelType.ValueType # 0
|
686
|
+
TUNNEL_TYPE_H2: _TunnelType.ValueType # 1
|
687
|
+
"""HTTP/2 tunnel"""
|
688
|
+
|
689
|
+
class TunnelType(_TunnelType, metaclass=_TunnelTypeEnumTypeWrapper): ...
|
690
|
+
|
691
|
+
TUNNEL_TYPE_UNSPECIFIED: TunnelType.ValueType # 0
|
692
|
+
TUNNEL_TYPE_H2: TunnelType.ValueType # 1
|
693
|
+
"""HTTP/2 tunnel"""
|
694
|
+
global___TunnelType = TunnelType
|
695
|
+
|
679
696
|
class _VolumeFsVersion:
|
680
697
|
ValueType = typing.NewType("ValueType", builtins.int)
|
681
698
|
V: typing_extensions.TypeAlias = ValueType
|
@@ -3986,12 +4003,16 @@ class FileEntry(google.protobuf.message.Message):
|
|
3986
4003
|
FILE: FileEntry._FileType.ValueType # 1
|
3987
4004
|
DIRECTORY: FileEntry._FileType.ValueType # 2
|
3988
4005
|
SYMLINK: FileEntry._FileType.ValueType # 3
|
4006
|
+
FIFO: FileEntry._FileType.ValueType # 4
|
4007
|
+
SOCKET: FileEntry._FileType.ValueType # 5
|
3989
4008
|
|
3990
4009
|
class FileType(_FileType, metaclass=_FileTypeEnumTypeWrapper): ...
|
3991
4010
|
UNSPECIFIED: FileEntry.FileType.ValueType # 0
|
3992
4011
|
FILE: FileEntry.FileType.ValueType # 1
|
3993
4012
|
DIRECTORY: FileEntry.FileType.ValueType # 2
|
3994
4013
|
SYMLINK: FileEntry.FileType.ValueType # 3
|
4014
|
+
FIFO: FileEntry.FileType.ValueType # 4
|
4015
|
+
SOCKET: FileEntry.FileType.ValueType # 5
|
3995
4016
|
|
3996
4017
|
PATH_FIELD_NUMBER: builtins.int
|
3997
4018
|
TYPE_FIELD_NUMBER: builtins.int
|
@@ -6941,13 +6962,13 @@ class PortSpec(google.protobuf.message.Message):
|
|
6941
6962
|
TUNNEL_TYPE_FIELD_NUMBER: builtins.int
|
6942
6963
|
port: builtins.int
|
6943
6964
|
unencrypted: builtins.bool
|
6944
|
-
tunnel_type:
|
6965
|
+
tunnel_type: global___TunnelType.ValueType
|
6945
6966
|
def __init__(
|
6946
6967
|
self,
|
6947
6968
|
*,
|
6948
6969
|
port: builtins.int = ...,
|
6949
6970
|
unencrypted: builtins.bool = ...,
|
6950
|
-
tunnel_type:
|
6971
|
+
tunnel_type: global___TunnelType.ValueType | None = ...,
|
6951
6972
|
) -> None: ...
|
6952
6973
|
def HasField(self, field_name: typing_extensions.Literal["_tunnel_type", b"_tunnel_type", "tunnel_type", b"tunnel_type"]) -> builtins.bool: ...
|
6953
6974
|
def ClearField(self, field_name: typing_extensions.Literal["_tunnel_type", b"_tunnel_type", "port", b"port", "tunnel_type", b"tunnel_type", "unencrypted", b"unencrypted"]) -> None: ...
|
@@ -9379,13 +9400,13 @@ class TunnelStartRequest(google.protobuf.message.Message):
|
|
9379
9400
|
TUNNEL_TYPE_FIELD_NUMBER: builtins.int
|
9380
9401
|
port: builtins.int
|
9381
9402
|
unencrypted: builtins.bool
|
9382
|
-
tunnel_type:
|
9403
|
+
tunnel_type: global___TunnelType.ValueType
|
9383
9404
|
def __init__(
|
9384
9405
|
self,
|
9385
9406
|
*,
|
9386
9407
|
port: builtins.int = ...,
|
9387
9408
|
unencrypted: builtins.bool = ...,
|
9388
|
-
tunnel_type:
|
9409
|
+
tunnel_type: global___TunnelType.ValueType | None = ...,
|
9389
9410
|
) -> None: ...
|
9390
9411
|
def HasField(self, field_name: typing_extensions.Literal["_tunnel_type", b"_tunnel_type", "tunnel_type", b"tunnel_type"]) -> builtins.bool: ...
|
9391
9412
|
def ClearField(self, field_name: typing_extensions.Literal["_tunnel_type", b"_tunnel_type", "port", b"port", "tunnel_type", b"tunnel_type", "unencrypted", b"unencrypted"]) -> None: ...
|
modal_version/__init__.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|