modal 1.1.1.dev31__py3-none-any.whl → 1.1.1.dev32__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
@@ -3704,13 +3704,18 @@ class DictListRequest(google.protobuf.message.Message):
3704
3704
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
3705
3705
 
3706
3706
  ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
3707
+ PAGINATION_FIELD_NUMBER: builtins.int
3707
3708
  environment_name: builtins.str
3709
+ @property
3710
+ def pagination(self) -> global___ListPagination: ...
3708
3711
  def __init__(
3709
3712
  self,
3710
3713
  *,
3711
3714
  environment_name: builtins.str = ...,
3715
+ pagination: global___ListPagination | None = ...,
3712
3716
  ) -> None: ...
3713
- def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name"]) -> None: ...
3717
+ def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
3718
+ def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "pagination", b"pagination"]) -> None: ...
3714
3719
 
3715
3720
  global___DictListRequest = DictListRequest
3716
3721
 
@@ -3722,25 +3727,37 @@ class DictListResponse(google.protobuf.message.Message):
3722
3727
 
3723
3728
  NAME_FIELD_NUMBER: builtins.int
3724
3729
  CREATED_AT_FIELD_NUMBER: builtins.int
3730
+ DICT_ID_FIELD_NUMBER: builtins.int
3731
+ METADATA_FIELD_NUMBER: builtins.int
3725
3732
  name: builtins.str
3726
3733
  created_at: builtins.float
3734
+ """Superseded by metadata, used by clients up to 1.1.1"""
3735
+ dict_id: builtins.str
3736
+ @property
3737
+ def metadata(self) -> global___DictMetadata: ...
3727
3738
  def __init__(
3728
3739
  self,
3729
3740
  *,
3730
3741
  name: builtins.str = ...,
3731
3742
  created_at: builtins.float = ...,
3743
+ dict_id: builtins.str = ...,
3744
+ metadata: global___DictMetadata | None = ...,
3732
3745
  ) -> None: ...
3733
- def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "name", b"name"]) -> None: ...
3746
+ def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
3747
+ def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "dict_id", b"dict_id", "metadata", b"metadata", "name", b"name"]) -> None: ...
3734
3748
 
3735
3749
  DICTS_FIELD_NUMBER: builtins.int
3750
+ ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
3736
3751
  @property
3737
3752
  def dicts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DictListResponse.DictInfo]: ...
3753
+ environment_name: builtins.str
3738
3754
  def __init__(
3739
3755
  self,
3740
3756
  *,
3741
3757
  dicts: collections.abc.Iterable[global___DictListResponse.DictInfo] | None = ...,
3758
+ environment_name: builtins.str = ...,
3742
3759
  ) -> None: ...
3743
- def ClearField(self, field_name: typing_extensions.Literal["dicts", b"dicts"]) -> None: ...
3760
+ def ClearField(self, field_name: typing_extensions.Literal["dicts", b"dicts", "environment_name", b"environment_name"]) -> None: ...
3744
3761
 
3745
3762
  global___DictListResponse = DictListResponse
3746
3763
 
@@ -6747,6 +6764,23 @@ class InputInfo(google.protobuf.message.Message):
6747
6764
 
6748
6765
  global___InputInfo = InputInfo
6749
6766
 
6767
+ class ListPagination(google.protobuf.message.Message):
6768
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
6769
+
6770
+ MAX_OBJECTS_FIELD_NUMBER: builtins.int
6771
+ CREATED_BEFORE_FIELD_NUMBER: builtins.int
6772
+ max_objects: builtins.int
6773
+ created_before: builtins.float
6774
+ def __init__(
6775
+ self,
6776
+ *,
6777
+ max_objects: builtins.int = ...,
6778
+ created_before: builtins.float = ...,
6779
+ ) -> None: ...
6780
+ def ClearField(self, field_name: typing_extensions.Literal["created_before", b"created_before", "max_objects", b"max_objects"]) -> None: ...
6781
+
6782
+ global___ListPagination = ListPagination
6783
+
6750
6784
  class MapAwaitRequest(google.protobuf.message.Message):
6751
6785
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
6752
6786
 
@@ -7910,16 +7944,21 @@ class QueueListRequest(google.protobuf.message.Message):
7910
7944
 
7911
7945
  ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
7912
7946
  TOTAL_SIZE_LIMIT_FIELD_NUMBER: builtins.int
7947
+ PAGINATION_FIELD_NUMBER: builtins.int
7913
7948
  environment_name: builtins.str
7914
7949
  total_size_limit: builtins.int
7915
- """Allow client to report a bounded total size to reduce the number of partitions that need to be checked"""
7950
+ """Limit on "number of partitions" reported, since checking them is costly"""
7951
+ @property
7952
+ def pagination(self) -> global___ListPagination: ...
7916
7953
  def __init__(
7917
7954
  self,
7918
7955
  *,
7919
7956
  environment_name: builtins.str = ...,
7920
7957
  total_size_limit: builtins.int = ...,
7958
+ pagination: global___ListPagination | None = ...,
7921
7959
  ) -> None: ...
7922
- def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "total_size_limit", b"total_size_limit"]) -> None: ...
7960
+ def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
7961
+ def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "pagination", b"pagination", "total_size_limit", b"total_size_limit"]) -> None: ...
7923
7962
 
7924
7963
  global___QueueListRequest = QueueListRequest
7925
7964
 
@@ -7933,10 +7972,16 @@ class QueueListResponse(google.protobuf.message.Message):
7933
7972
  CREATED_AT_FIELD_NUMBER: builtins.int
7934
7973
  NUM_PARTITIONS_FIELD_NUMBER: builtins.int
7935
7974
  TOTAL_SIZE_FIELD_NUMBER: builtins.int
7975
+ QUEUE_ID_FIELD_NUMBER: builtins.int
7976
+ METADATA_FIELD_NUMBER: builtins.int
7936
7977
  name: builtins.str
7937
7978
  created_at: builtins.float
7979
+ """Superseded by metadata, used by clients up to 1.1.1"""
7938
7980
  num_partitions: builtins.int
7939
7981
  total_size: builtins.int
7982
+ queue_id: builtins.str
7983
+ @property
7984
+ def metadata(self) -> global___QueueMetadata: ...
7940
7985
  def __init__(
7941
7986
  self,
7942
7987
  *,
@@ -7944,18 +7989,24 @@ class QueueListResponse(google.protobuf.message.Message):
7944
7989
  created_at: builtins.float = ...,
7945
7990
  num_partitions: builtins.int = ...,
7946
7991
  total_size: builtins.int = ...,
7992
+ queue_id: builtins.str = ...,
7993
+ metadata: global___QueueMetadata | None = ...,
7947
7994
  ) -> None: ...
7948
- def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "name", b"name", "num_partitions", b"num_partitions", "total_size", b"total_size"]) -> None: ...
7995
+ def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
7996
+ def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "metadata", b"metadata", "name", b"name", "num_partitions", b"num_partitions", "queue_id", b"queue_id", "total_size", b"total_size"]) -> None: ...
7949
7997
 
7950
7998
  QUEUES_FIELD_NUMBER: builtins.int
7999
+ ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
7951
8000
  @property
7952
8001
  def queues(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___QueueListResponse.QueueInfo]: ...
8002
+ environment_name: builtins.str
7953
8003
  def __init__(
7954
8004
  self,
7955
8005
  *,
7956
8006
  queues: collections.abc.Iterable[global___QueueListResponse.QueueInfo] | None = ...,
8007
+ environment_name: builtins.str = ...,
7957
8008
  ) -> None: ...
7958
- def ClearField(self, field_name: typing_extensions.Literal["queues", b"queues"]) -> None: ...
8009
+ def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "queues", b"queues"]) -> None: ...
7959
8010
 
7960
8011
  global___QueueListResponse = QueueListResponse
7961
8012
 
@@ -9308,11 +9359,16 @@ class SecretListItem(google.protobuf.message.Message):
9308
9359
  LAST_USED_AT_FIELD_NUMBER: builtins.int
9309
9360
  ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
9310
9361
  SECRET_ID_FIELD_NUMBER: builtins.int
9362
+ METADATA_FIELD_NUMBER: builtins.int
9311
9363
  label: builtins.str
9312
9364
  created_at: builtins.float
9365
+ """Superseded by metadata, used by clients up to 1.1.1"""
9313
9366
  last_used_at: builtins.float
9314
9367
  environment_name: builtins.str
9368
+ """Unused by client"""
9315
9369
  secret_id: builtins.str
9370
+ @property
9371
+ def metadata(self) -> global___SecretMetadata: ...
9316
9372
  def __init__(
9317
9373
  self,
9318
9374
  *,
@@ -9321,8 +9377,10 @@ class SecretListItem(google.protobuf.message.Message):
9321
9377
  last_used_at: builtins.float = ...,
9322
9378
  environment_name: builtins.str = ...,
9323
9379
  secret_id: builtins.str = ...,
9380
+ metadata: global___SecretMetadata | None = ...,
9324
9381
  ) -> None: ...
9325
- def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "environment_name", b"environment_name", "label", b"label", "last_used_at", b"last_used_at", "secret_id", b"secret_id"]) -> None: ...
9382
+ def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
9383
+ def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "environment_name", b"environment_name", "label", b"label", "last_used_at", b"last_used_at", "metadata", b"metadata", "secret_id", b"secret_id"]) -> None: ...
9326
9384
 
9327
9385
  global___SecretListItem = SecretListItem
9328
9386
 
@@ -9330,14 +9388,18 @@ class SecretListRequest(google.protobuf.message.Message):
9330
9388
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
9331
9389
 
9332
9390
  ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
9391
+ PAGINATION_FIELD_NUMBER: builtins.int
9333
9392
  environment_name: builtins.str
9334
- """leaving empty will assume a singular environment"""
9393
+ @property
9394
+ def pagination(self) -> global___ListPagination: ...
9335
9395
  def __init__(
9336
9396
  self,
9337
9397
  *,
9338
9398
  environment_name: builtins.str = ...,
9399
+ pagination: global___ListPagination | None = ...,
9339
9400
  ) -> None: ...
9340
- def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name"]) -> None: ...
9401
+ def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
9402
+ def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "pagination", b"pagination"]) -> None: ...
9341
9403
 
9342
9404
  global___SecretListRequest = SecretListRequest
9343
9405
 
@@ -9349,7 +9411,6 @@ class SecretListResponse(google.protobuf.message.Message):
9349
9411
  @property
9350
9412
  def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___SecretListItem]: ...
9351
9413
  environment_name: builtins.str
9352
- """the environment that was listed (useful when relying on "default" logic)"""
9353
9414
  def __init__(
9354
9415
  self,
9355
9416
  *,
@@ -10538,18 +10599,24 @@ class VolumeListItem(google.protobuf.message.Message):
10538
10599
  LABEL_FIELD_NUMBER: builtins.int
10539
10600
  VOLUME_ID_FIELD_NUMBER: builtins.int
10540
10601
  CREATED_AT_FIELD_NUMBER: builtins.int
10602
+ METADATA_FIELD_NUMBER: builtins.int
10541
10603
  label: builtins.str
10542
10604
  """app name of object entity app"""
10543
10605
  volume_id: builtins.str
10544
10606
  created_at: builtins.float
10607
+ """Superseded by metadata, used by clients up to 1.1.1"""
10608
+ @property
10609
+ def metadata(self) -> global___VolumeMetadata: ...
10545
10610
  def __init__(
10546
10611
  self,
10547
10612
  *,
10548
10613
  label: builtins.str = ...,
10549
10614
  volume_id: builtins.str = ...,
10550
10615
  created_at: builtins.float = ...,
10616
+ metadata: global___VolumeMetadata | None = ...,
10551
10617
  ) -> None: ...
10552
- def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "label", b"label", "volume_id", b"volume_id"]) -> None: ...
10618
+ def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
10619
+ def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "label", b"label", "metadata", b"metadata", "volume_id", b"volume_id"]) -> None: ...
10553
10620
 
10554
10621
  global___VolumeListItem = VolumeListItem
10555
10622
 
@@ -10557,13 +10624,18 @@ class VolumeListRequest(google.protobuf.message.Message):
10557
10624
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
10558
10625
 
10559
10626
  ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
10627
+ PAGINATION_FIELD_NUMBER: builtins.int
10560
10628
  environment_name: builtins.str
10629
+ @property
10630
+ def pagination(self) -> global___ListPagination: ...
10561
10631
  def __init__(
10562
10632
  self,
10563
10633
  *,
10564
10634
  environment_name: builtins.str = ...,
10635
+ pagination: global___ListPagination | None = ...,
10565
10636
  ) -> None: ...
10566
- def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name"]) -> None: ...
10637
+ def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
10638
+ def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "pagination", b"pagination"]) -> None: ...
10567
10639
 
10568
10640
  global___VolumeListRequest = VolumeListRequest
10569
10641
 
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.dev31"
4
+ __version__ = "1.1.1.dev32"