modal 1.1.4.dev8__py3-none-any.whl → 1.1.4.dev10__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/builder/PREVIEW.txt +1 -0
- modal/client.pyi +2 -2
- modal/image.py +8 -2
- modal/image.pyi +16 -4
- {modal-1.1.4.dev8.dist-info → modal-1.1.4.dev10.dist-info}/METADATA +1 -1
- {modal-1.1.4.dev8.dist-info → modal-1.1.4.dev10.dist-info}/RECORD +11 -11
- modal_version/__init__.py +1 -1
- {modal-1.1.4.dev8.dist-info → modal-1.1.4.dev10.dist-info}/WHEEL +0 -0
- {modal-1.1.4.dev8.dist-info → modal-1.1.4.dev10.dist-info}/entry_points.txt +0 -0
- {modal-1.1.4.dev8.dist-info → modal-1.1.4.dev10.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.4.dev8.dist-info → modal-1.1.4.dev10.dist-info}/top_level.txt +0 -0
modal/builder/PREVIEW.txt
CHANGED
modal/client.pyi
CHANGED
@@ -33,7 +33,7 @@ class _Client:
|
|
33
33
|
server_url: str,
|
34
34
|
client_type: int,
|
35
35
|
credentials: typing.Optional[tuple[str, str]],
|
36
|
-
version: str = "1.1.4.
|
36
|
+
version: str = "1.1.4.dev10",
|
37
37
|
):
|
38
38
|
"""mdmd:hidden
|
39
39
|
The Modal client object is not intended to be instantiated directly by users.
|
@@ -164,7 +164,7 @@ class Client:
|
|
164
164
|
server_url: str,
|
165
165
|
client_type: int,
|
166
166
|
credentials: typing.Optional[tuple[str, str]],
|
167
|
-
version: str = "1.1.4.
|
167
|
+
version: str = "1.1.4.dev10",
|
168
168
|
):
|
169
169
|
"""mdmd:hidden
|
170
170
|
The Modal client object is not intended to be instantiated directly by users.
|
modal/image.py
CHANGED
@@ -1863,12 +1863,18 @@ class _Image(_Object, type_prefix="im"):
|
|
1863
1863
|
) -> "_Image":
|
1864
1864
|
"""Build a Modal image from a private image in AWS Elastic Container Registry (ECR).
|
1865
1865
|
|
1866
|
-
You will need to pass a `modal.Secret` containing
|
1867
|
-
|
1866
|
+
You will need to pass a `modal.Secret` containing either IAM user credentials or OIDC
|
1867
|
+
configuration to access the target ECR registry.
|
1868
|
+
|
1869
|
+
For IAM user authentication, set `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, and `AWS_REGION`.
|
1870
|
+
|
1871
|
+
For OIDC authentication, set `AWS_ROLE_ARN` and `AWS_REGION`.
|
1868
1872
|
|
1869
1873
|
IAM configuration details can be found in the AWS documentation for
|
1870
1874
|
["Private repository policies"](https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html).
|
1871
1875
|
|
1876
|
+
For more details on using an AWS role to access ECR, see the [OIDC integration guide](https://modal.com/docs/guide/oidc-integration).
|
1877
|
+
|
1872
1878
|
See `Image.from_registry()` for information about the other parameters.
|
1873
1879
|
|
1874
1880
|
**Example**
|
modal/image.pyi
CHANGED
@@ -720,12 +720,18 @@ class _Image(modal._object._Object):
|
|
720
720
|
) -> _Image:
|
721
721
|
"""Build a Modal image from a private image in AWS Elastic Container Registry (ECR).
|
722
722
|
|
723
|
-
You will need to pass a `modal.Secret` containing
|
724
|
-
|
723
|
+
You will need to pass a `modal.Secret` containing either IAM user credentials or OIDC
|
724
|
+
configuration to access the target ECR registry.
|
725
|
+
|
726
|
+
For IAM user authentication, set `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, and `AWS_REGION`.
|
727
|
+
|
728
|
+
For OIDC authentication, set `AWS_ROLE_ARN` and `AWS_REGION`.
|
725
729
|
|
726
730
|
IAM configuration details can be found in the AWS documentation for
|
727
731
|
["Private repository policies"](https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html).
|
728
732
|
|
733
|
+
For more details on using an AWS role to access ECR, see the [OIDC integration guide](https://modal.com/docs/guide/oidc-integration).
|
734
|
+
|
729
735
|
See `Image.from_registry()` for information about the other parameters.
|
730
736
|
|
731
737
|
**Example**
|
@@ -1565,12 +1571,18 @@ class Image(modal.object.Object):
|
|
1565
1571
|
) -> Image:
|
1566
1572
|
"""Build a Modal image from a private image in AWS Elastic Container Registry (ECR).
|
1567
1573
|
|
1568
|
-
You will need to pass a `modal.Secret` containing
|
1569
|
-
|
1574
|
+
You will need to pass a `modal.Secret` containing either IAM user credentials or OIDC
|
1575
|
+
configuration to access the target ECR registry.
|
1576
|
+
|
1577
|
+
For IAM user authentication, set `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, and `AWS_REGION`.
|
1578
|
+
|
1579
|
+
For OIDC authentication, set `AWS_ROLE_ARN` and `AWS_REGION`.
|
1570
1580
|
|
1571
1581
|
IAM configuration details can be found in the AWS documentation for
|
1572
1582
|
["Private repository policies"](https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html).
|
1573
1583
|
|
1584
|
+
For more details on using an AWS role to access ECR, see the [OIDC integration guide](https://modal.com/docs/guide/oidc-integration).
|
1585
|
+
|
1574
1586
|
See `Image.from_registry()` for information about the other parameters.
|
1575
1587
|
|
1576
1588
|
**Example**
|
@@ -22,7 +22,7 @@ modal/app.py,sha256=hJU3DGzP5GwYRmBj57XajljkQtLxkKftxXih2TYRcKo,48047
|
|
22
22
|
modal/app.pyi,sha256=0U2xVKD3yfHe5l2bcihTDjPl__tzOvx1AIYOTebu-5o,43375
|
23
23
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
24
24
|
modal/client.py,sha256=kyAIVB3Ay-XKJizQ_1ufUFB__EagV0MLmHJpyYyJ7J0,18636
|
25
|
-
modal/client.pyi,sha256=
|
25
|
+
modal/client.pyi,sha256=pRFLE9lLmf8DEBKQ0bYF-VgbrKCcAaZh0AAcoIikdV0,15831
|
26
26
|
modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
|
27
27
|
modal/cloud_bucket_mount.pyi,sha256=-qSfYAQvIoO_l2wsCCGTG5ZUwQieNKXdAO00yP1-LYU,7394
|
28
28
|
modal/cls.py,sha256=1mBcExFrLDTZwkD3Dzu8F26_CL0CGktOV9pE60Y8g_E,40689
|
@@ -41,8 +41,8 @@ modal/file_pattern_matcher.py,sha256=A_Kdkej6q7YQyhM_2-BvpFmPqJ0oHb54B6yf9VqvPVE
|
|
41
41
|
modal/functions.py,sha256=kcNHvqeGBxPI7Cgd57NIBBghkfbeFJzXO44WW0jSmao,325
|
42
42
|
modal/functions.pyi,sha256=h1oPAvbErW_i1Glzf_HsQenG-uH4KZk7X6razFbif6M,38890
|
43
43
|
modal/gpu.py,sha256=Fe5ORvVPDIstSq1xjmM6OoNgLYFWvogP9r5BgmD3hYg,6769
|
44
|
-
modal/image.py,sha256=
|
45
|
-
modal/image.pyi,sha256=
|
44
|
+
modal/image.py,sha256=nXN9k_6gApHFy8-Bk_XT2Zu3jsDsGVrC3QcuiDC4yRY,103543
|
45
|
+
modal/image.pyi,sha256=vKdb5PpYM8wcpq9PQegeVMjrPLzAipuV4q994NZiL84,69325
|
46
46
|
modal/io_streams.py,sha256=ut9tY_yEtiBsgQ40u_72Ns87IZHfbMxfnh8t6U9RSGA,16204
|
47
47
|
modal/io_streams.pyi,sha256=aOun_jUFKHSJyUY6-7gKvNoxzcULsa8_hxdtEO7v-gk,13980
|
48
48
|
modal/mount.py,sha256=AObt5puO-jgtH5EtUfgAkz130bR-8Qvo5Am1_4tg3mE,37215
|
@@ -121,7 +121,7 @@ modal/builder/2023.12.txt,sha256=OjsbXFkCSdkzzryZP82Q73osr5wxQ6EUzmGcK7twfkA,502
|
|
121
121
|
modal/builder/2024.04.txt,sha256=6NnrbIE-mflwMyKyQ0tsWeY8XFE1kSW9oE8DVDoD8QU,544
|
122
122
|
modal/builder/2024.10.txt,sha256=qD-5cVIVM9wXesJ6JC89Ew-3m2KjEElUz3jaw_MddRo,296
|
123
123
|
modal/builder/2025.06.txt,sha256=KxDaVTOwatHvboDo4lorlgJ7-n-MfAwbPwxJ0zcJqrs,312
|
124
|
-
modal/builder/PREVIEW.txt,sha256=
|
124
|
+
modal/builder/PREVIEW.txt,sha256=XM4z76RPnrcbCx3o3sqXijWnumyOGiTCLGhKaaS4xz0,325
|
125
125
|
modal/builder/README.md,sha256=9tK76KP0Uph7O0M5oUgsSwEZDj5y-dcUPsnpR0Sc-Ik,854
|
126
126
|
modal/builder/base-images.json,sha256=JYSDAgHTl-WrV_TZW5icY-IJEnbe2eQ4CZ_KN6EOZKU,1304
|
127
127
|
modal/cli/__init__.py,sha256=6FRleWQxBDT19y7OayO4lBOzuL6Bs9r0rLINYYYbHwQ,769
|
@@ -153,7 +153,7 @@ modal/experimental/__init__.py,sha256=dPBPpxsmjZMLF3YjRrXoTvT01pl65wxi4UdFZsOem3
|
|
153
153
|
modal/experimental/flash.py,sha256=viXQumCIFp5VFsPFURdFTBTjP_QnsAi8nSWXAMmfjeQ,19744
|
154
154
|
modal/experimental/flash.pyi,sha256=A8_qJGtGoXEzKDdHbvhmCw7oqfneFEvJQK3ZdTOvUdU,10830
|
155
155
|
modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
|
156
|
-
modal-1.1.4.
|
156
|
+
modal-1.1.4.dev10.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
157
157
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
158
158
|
modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
|
159
159
|
modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
|
@@ -176,10 +176,10 @@ modal_proto/options_pb2.pyi,sha256=l7DBrbLO7q3Ir-XDkWsajm0d0TQqqrfuX54i4BMpdQg,1
|
|
176
176
|
modal_proto/options_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
177
177
|
modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0yJSI,247
|
178
178
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
179
|
-
modal_version/__init__.py,sha256=
|
179
|
+
modal_version/__init__.py,sha256=RuZgIWJlkMMqZDqggA2uAUzXCBPOad5X6eKGAQdcGJE,121
|
180
180
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
181
|
-
modal-1.1.4.
|
182
|
-
modal-1.1.4.
|
183
|
-
modal-1.1.4.
|
184
|
-
modal-1.1.4.
|
185
|
-
modal-1.1.4.
|
181
|
+
modal-1.1.4.dev10.dist-info/METADATA,sha256=mrjK6Kr8NXjDtMX4InCACCV3-0tKhNiZmoP1ZN_tqtw,2460
|
182
|
+
modal-1.1.4.dev10.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
183
|
+
modal-1.1.4.dev10.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
184
|
+
modal-1.1.4.dev10.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
185
|
+
modal-1.1.4.dev10.dist-info/RECORD,,
|
modal_version/__init__.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|