modal 1.0.3.dev4__py3-none-any.whl → 1.0.3.dev6__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
@@ -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
@@ -6945,13 +6962,13 @@ class PortSpec(google.protobuf.message.Message):
6945
6962
  TUNNEL_TYPE_FIELD_NUMBER: builtins.int
6946
6963
  port: builtins.int
6947
6964
  unencrypted: builtins.bool
6948
- tunnel_type: builtins.str
6965
+ tunnel_type: global___TunnelType.ValueType
6949
6966
  def __init__(
6950
6967
  self,
6951
6968
  *,
6952
6969
  port: builtins.int = ...,
6953
6970
  unencrypted: builtins.bool = ...,
6954
- tunnel_type: builtins.str | None = ...,
6971
+ tunnel_type: global___TunnelType.ValueType | None = ...,
6955
6972
  ) -> None: ...
6956
6973
  def HasField(self, field_name: typing_extensions.Literal["_tunnel_type", b"_tunnel_type", "tunnel_type", b"tunnel_type"]) -> builtins.bool: ...
6957
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: ...
@@ -9383,13 +9400,13 @@ class TunnelStartRequest(google.protobuf.message.Message):
9383
9400
  TUNNEL_TYPE_FIELD_NUMBER: builtins.int
9384
9401
  port: builtins.int
9385
9402
  unencrypted: builtins.bool
9386
- tunnel_type: builtins.str
9403
+ tunnel_type: global___TunnelType.ValueType
9387
9404
  def __init__(
9388
9405
  self,
9389
9406
  *,
9390
9407
  port: builtins.int = ...,
9391
9408
  unencrypted: builtins.bool = ...,
9392
- tunnel_type: builtins.str | None = ...,
9409
+ tunnel_type: global___TunnelType.ValueType | None = ...,
9393
9410
  ) -> None: ...
9394
9411
  def HasField(self, field_name: typing_extensions.Literal["_tunnel_type", b"_tunnel_type", "tunnel_type", b"tunnel_type"]) -> builtins.bool: ...
9395
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
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2025
2
2
  """Supplies the current version of the modal client library."""
3
3
 
4
- __version__ = "1.0.3.dev4"
4
+ __version__ = "1.0.3.dev6"