modal 1.1.1.dev15__py3-none-any.whl → 1.1.1.dev17__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_proto/api_pb2.pyi CHANGED
@@ -3364,6 +3364,27 @@ class ContainerStopResponse(google.protobuf.message.Message):
3364
3364
 
3365
3365
  global___ContainerStopResponse = ContainerStopResponse
3366
3366
 
3367
+ class CreationInfo(google.protobuf.message.Message):
3368
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
3369
+
3370
+ CREATED_AT_FIELD_NUMBER: builtins.int
3371
+ CREATED_BY_FIELD_NUMBER: builtins.int
3372
+ created_at: builtins.float
3373
+ """This message is used in metadata for resource objects like Dict, Queue, Volume, etc.
3374
+ Timestamp of resource creation
3375
+ """
3376
+ created_by: builtins.str
3377
+ """User name or service name"""
3378
+ def __init__(
3379
+ self,
3380
+ *,
3381
+ created_at: builtins.float = ...,
3382
+ created_by: builtins.str = ...,
3383
+ ) -> None: ...
3384
+ def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "created_by", b"created_by"]) -> None: ...
3385
+
3386
+ global___CreationInfo = CreationInfo
3387
+
3367
3388
  class CustomDomainConfig(google.protobuf.message.Message):
3368
3389
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
3369
3390
 
@@ -3567,13 +3588,18 @@ class DictGetOrCreateResponse(google.protobuf.message.Message):
3567
3588
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
3568
3589
 
3569
3590
  DICT_ID_FIELD_NUMBER: builtins.int
3591
+ METADATA_FIELD_NUMBER: builtins.int
3570
3592
  dict_id: builtins.str
3593
+ @property
3594
+ def metadata(self) -> global___DictMetadata: ...
3571
3595
  def __init__(
3572
3596
  self,
3573
3597
  *,
3574
3598
  dict_id: builtins.str = ...,
3599
+ metadata: global___DictMetadata | None = ...,
3575
3600
  ) -> None: ...
3576
- def ClearField(self, field_name: typing_extensions.Literal["dict_id", b"dict_id"]) -> None: ...
3601
+ def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
3602
+ def ClearField(self, field_name: typing_extensions.Literal["dict_id", b"dict_id", "metadata", b"metadata"]) -> None: ...
3577
3603
 
3578
3604
  global___DictGetOrCreateResponse = DictGetOrCreateResponse
3579
3605
 
@@ -3699,6 +3725,25 @@ class DictListResponse(google.protobuf.message.Message):
3699
3725
 
3700
3726
  global___DictListResponse = DictListResponse
3701
3727
 
3728
+ class DictMetadata(google.protobuf.message.Message):
3729
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
3730
+
3731
+ NAME_FIELD_NUMBER: builtins.int
3732
+ CREATION_INFO_FIELD_NUMBER: builtins.int
3733
+ name: builtins.str
3734
+ @property
3735
+ def creation_info(self) -> global___CreationInfo: ...
3736
+ def __init__(
3737
+ self,
3738
+ *,
3739
+ name: builtins.str = ...,
3740
+ creation_info: global___CreationInfo | None = ...,
3741
+ ) -> None: ...
3742
+ def HasField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info"]) -> builtins.bool: ...
3743
+ def ClearField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info", "name", b"name"]) -> None: ...
3744
+
3745
+ global___DictMetadata = DictMetadata
3746
+
3702
3747
  class DictPopRequest(google.protobuf.message.Message):
3703
3748
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
3704
3749
 
@@ -7687,13 +7732,18 @@ class QueueGetOrCreateResponse(google.protobuf.message.Message):
7687
7732
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
7688
7733
 
7689
7734
  QUEUE_ID_FIELD_NUMBER: builtins.int
7735
+ METADATA_FIELD_NUMBER: builtins.int
7690
7736
  queue_id: builtins.str
7737
+ @property
7738
+ def metadata(self) -> global___QueueMetadata: ...
7691
7739
  def __init__(
7692
7740
  self,
7693
7741
  *,
7694
7742
  queue_id: builtins.str = ...,
7743
+ metadata: global___QueueMetadata | None = ...,
7695
7744
  ) -> None: ...
7696
- def ClearField(self, field_name: typing_extensions.Literal["queue_id", b"queue_id"]) -> None: ...
7745
+ def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
7746
+ def ClearField(self, field_name: typing_extensions.Literal["metadata", b"metadata", "queue_id", b"queue_id"]) -> None: ...
7697
7747
 
7698
7748
  global___QueueGetOrCreateResponse = QueueGetOrCreateResponse
7699
7749
 
@@ -7854,6 +7904,25 @@ class QueueListResponse(google.protobuf.message.Message):
7854
7904
 
7855
7905
  global___QueueListResponse = QueueListResponse
7856
7906
 
7907
+ class QueueMetadata(google.protobuf.message.Message):
7908
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
7909
+
7910
+ NAME_FIELD_NUMBER: builtins.int
7911
+ CREATION_INFO_FIELD_NUMBER: builtins.int
7912
+ name: builtins.str
7913
+ @property
7914
+ def creation_info(self) -> global___CreationInfo: ...
7915
+ def __init__(
7916
+ self,
7917
+ *,
7918
+ name: builtins.str = ...,
7919
+ creation_info: global___CreationInfo | None = ...,
7920
+ ) -> None: ...
7921
+ def HasField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info"]) -> builtins.bool: ...
7922
+ def ClearField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info", "name", b"name"]) -> None: ...
7923
+
7924
+ global___QueueMetadata = QueueMetadata
7925
+
7857
7926
  class QueueNextItemsRequest(google.protobuf.message.Message):
7858
7927
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
7859
7928
 
@@ -9090,13 +9159,18 @@ class SecretGetOrCreateResponse(google.protobuf.message.Message):
9090
9159
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
9091
9160
 
9092
9161
  SECRET_ID_FIELD_NUMBER: builtins.int
9162
+ METADATA_FIELD_NUMBER: builtins.int
9093
9163
  secret_id: builtins.str
9164
+ @property
9165
+ def metadata(self) -> global___SecretMetadata: ...
9094
9166
  def __init__(
9095
9167
  self,
9096
9168
  *,
9097
9169
  secret_id: builtins.str = ...,
9170
+ metadata: global___SecretMetadata | None = ...,
9098
9171
  ) -> None: ...
9099
- def ClearField(self, field_name: typing_extensions.Literal["secret_id", b"secret_id"]) -> None: ...
9172
+ def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
9173
+ def ClearField(self, field_name: typing_extensions.Literal["metadata", b"metadata", "secret_id", b"secret_id"]) -> None: ...
9100
9174
 
9101
9175
  global___SecretGetOrCreateResponse = SecretGetOrCreateResponse
9102
9176
 
@@ -9160,7 +9234,28 @@ class SecretListResponse(google.protobuf.message.Message):
9160
9234
 
9161
9235
  global___SecretListResponse = SecretListResponse
9162
9236
 
9237
+ class SecretMetadata(google.protobuf.message.Message):
9238
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
9239
+
9240
+ NAME_FIELD_NUMBER: builtins.int
9241
+ CREATION_INFO_FIELD_NUMBER: builtins.int
9242
+ name: builtins.str
9243
+ @property
9244
+ def creation_info(self) -> global___CreationInfo: ...
9245
+ def __init__(
9246
+ self,
9247
+ *,
9248
+ name: builtins.str = ...,
9249
+ creation_info: global___CreationInfo | None = ...,
9250
+ ) -> None: ...
9251
+ def HasField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info"]) -> builtins.bool: ...
9252
+ def ClearField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info", "name", b"name"]) -> None: ...
9253
+
9254
+ global___SecretMetadata = SecretMetadata
9255
+
9163
9256
  class SharedVolumeDeleteRequest(google.protobuf.message.Message):
9257
+ """SharedVolume in the backend corresponds to NetworkFileSystem in the current API"""
9258
+
9164
9259
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
9165
9260
 
9166
9261
  SHARED_VOLUME_ID_FIELD_NUMBER: builtins.int
@@ -10199,6 +10294,7 @@ class VolumeGetOrCreateResponse(google.protobuf.message.Message):
10199
10294
  METADATA_FIELD_NUMBER: builtins.int
10200
10295
  volume_id: builtins.str
10201
10296
  version: global___VolumeFsVersion.ValueType
10297
+ """Not used directly; version is part of the metadata"""
10202
10298
  @property
10203
10299
  def metadata(self) -> global___VolumeMetadata: ...
10204
10300
  def __init__(
@@ -10364,13 +10460,21 @@ class VolumeMetadata(google.protobuf.message.Message):
10364
10460
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
10365
10461
 
10366
10462
  VERSION_FIELD_NUMBER: builtins.int
10463
+ NAME_FIELD_NUMBER: builtins.int
10464
+ CREATION_INFO_FIELD_NUMBER: builtins.int
10367
10465
  version: global___VolumeFsVersion.ValueType
10466
+ name: builtins.str
10467
+ @property
10468
+ def creation_info(self) -> global___CreationInfo: ...
10368
10469
  def __init__(
10369
10470
  self,
10370
10471
  *,
10371
10472
  version: global___VolumeFsVersion.ValueType = ...,
10473
+ name: builtins.str = ...,
10474
+ creation_info: global___CreationInfo | None = ...,
10372
10475
  ) -> None: ...
10373
- def ClearField(self, field_name: typing_extensions.Literal["version", b"version"]) -> None: ...
10476
+ def HasField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info"]) -> builtins.bool: ...
10477
+ def ClearField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info", "name", b"name", "version", b"version"]) -> None: ...
10374
10478
 
10375
10479
  global___VolumeMetadata = VolumeMetadata
10376
10480
 
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.1.1.dev15"
4
+ __version__ = "1.1.1.dev17"