modal 0.68.53__py3-none-any.whl → 0.68.55__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.
@@ -25,7 +25,7 @@ FIXUD_INSTALLER = "https://github.com/boxboat/fixuid/releases/download/v0.6.0/fi
25
25
  app = App()
26
26
  app.image = (
27
27
  Image.from_registry(args.get("image"), add_python="3.11")
28
- .apt_install("curl")
28
+ .apt_install("curl", "dumb-init", "git", "git-lfs")
29
29
  .run_commands(
30
30
  f"curl -fsSL {CODE_SERVER_INSTALLER} | sh",
31
31
  f"curl -fsSL {CODE_SERVER_ENTRYPOINT} > /code-server.sh",
modal/client.pyi CHANGED
@@ -26,7 +26,7 @@ class _Client:
26
26
  _stub: typing.Optional[modal_proto.api_grpc.ModalClientStub]
27
27
 
28
28
  def __init__(
29
- self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.68.53"
29
+ self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.68.55"
30
30
  ): ...
31
31
  def is_closed(self) -> bool: ...
32
32
  @property
@@ -81,7 +81,7 @@ class Client:
81
81
  _stub: typing.Optional[modal_proto.api_grpc.ModalClientStub]
82
82
 
83
83
  def __init__(
84
- self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.68.53"
84
+ self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.68.55"
85
85
  ): ...
86
86
  def is_closed(self) -> bool: ...
87
87
  @property
modal/partial_function.py CHANGED
@@ -253,7 +253,7 @@ def _web_endpoint(
253
253
  custom_domains: Optional[
254
254
  Iterable[str]
255
255
  ] = None, # Create an endpoint using a custom domain fully-qualified domain name (FQDN).
256
- requires_proxy_auth: bool = False, # Require Proxy-Authorization HTTP Headers on requests to the endpoint
256
+ requires_proxy_auth: bool = False, # Require Proxy-Authorization HTTP Headers on requests
257
257
  wait_for_response: bool = True, # DEPRECATED: this must always be True now
258
258
  ) -> Callable[[Callable[P, ReturnType]], _PartialFunction[P, ReturnType, ReturnType]]:
259
259
  """Register a basic web endpoint with this application.
@@ -316,7 +316,7 @@ def _asgi_app(
316
316
  *,
317
317
  label: Optional[str] = None, # Label for created endpoint. Final subdomain will be <workspace>--<label>.modal.run.
318
318
  custom_domains: Optional[Iterable[str]] = None, # Deploy this endpoint on a custom domain.
319
- requires_proxy_auth: bool = False, # Require Proxy-Authorization HTTP Headers on requests to the endpoint
319
+ requires_proxy_auth: bool = False, # Require Proxy-Authorization HTTP Headers on requests
320
320
  wait_for_response: bool = True, # DEPRECATED: this must always be True now
321
321
  ) -> Callable[[Callable[..., Any]], _PartialFunction]:
322
322
  """Decorator for registering an ASGI app with a Modal function.
@@ -392,7 +392,7 @@ def _wsgi_app(
392
392
  *,
393
393
  label: Optional[str] = None, # Label for created endpoint. Final subdomain will be <workspace>--<label>.modal.run.
394
394
  custom_domains: Optional[Iterable[str]] = None, # Deploy this endpoint on a custom domain.
395
- requires_proxy_auth: bool = False, # Require Proxy-Authorization HTTP Headers on requests to the endpoint
395
+ requires_proxy_auth: bool = False, # Require Proxy-Authorization HTTP Headers on requests
396
396
  wait_for_response: bool = True, # DEPRECATED: this must always be True now
397
397
  ) -> Callable[[Callable[..., Any]], _PartialFunction]:
398
398
  """Decorator for registering a WSGI app with a Modal function.
@@ -469,7 +469,7 @@ def _web_server(
469
469
  startup_timeout: float = 5.0, # Maximum number of seconds to wait for the web server to start.
470
470
  label: Optional[str] = None, # Label for created endpoint. Final subdomain will be <workspace>--<label>.modal.run.
471
471
  custom_domains: Optional[Iterable[str]] = None, # Deploy this endpoint on a custom domain.
472
- requires_proxy_auth: bool = False, # Require Proxy-Authorization HTTP Headers on requests to the endpoint
472
+ requires_proxy_auth: bool = False, # Require Proxy-Authorization HTTP Headers on requests
473
473
  ) -> Callable[[Callable[..., Any]], _PartialFunction]:
474
474
  """Decorator that registers an HTTP web server inside the container.
475
475
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: modal
3
- Version: 0.68.53
3
+ Version: 0.68.55
4
4
  Summary: Python client library for Modal
5
5
  Author: Modal Labs
6
6
  Author-email: support@modal.com
@@ -19,7 +19,7 @@ modal/app.py,sha256=JWefPs4yB70BKQwSZejB_4_muhxn63cC9UmnNvpQ9XY,45526
19
19
  modal/app.pyi,sha256=FYPCEJNhof4YF6HIuNP_2yG6s2PgZnKW9tO1hFE6sfA,25194
20
20
  modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
21
21
  modal/client.py,sha256=JAnd4-GCN093BwkvOFAK5a6iy5ycxofjpUncMxlrIMw,15253
22
- modal/client.pyi,sha256=XAmwzzNwwm210q9i2UE9zqIxjVessuji4j5mM3sgx_w,7280
22
+ modal/client.pyi,sha256=vm42D4zsYXDY9gOa1rQo7XqdqI1tvCkFF2l7SMXP1xU,7280
23
23
  modal/cloud_bucket_mount.py,sha256=G7T7jWLD0QkmrfKR75mSTwdUZ2xNfj7pkVqb4ipmxmI,5735
24
24
  modal/cloud_bucket_mount.pyi,sha256=CEi7vrH3kDUF4LAy4qP6tfImy2UJuFRcRbsgRNM1wo8,1403
25
25
  modal/cls.py,sha256=3hjb0JcoPjxKZNeK22f5rR43bZRBjoRI7_EMZXY7YrE,31172
@@ -52,7 +52,7 @@ modal/object.pyi,sha256=MO78H9yFSE5i1gExPEwyyQzLdlshkcGHN1aQ0ylyvq0,8802
52
52
  modal/output.py,sha256=N0xf4qeudEaYrslzdAl35VKV8rapstgIM2e9wO8_iy0,1967
53
53
  modal/parallel_map.py,sha256=4aoMXIrlG3wl5Ifk2YDNOQkXsGRsm6Xbfm6WtJ2t3WY,16002
54
54
  modal/parallel_map.pyi,sha256=pOhT0P3DDYlwLx0fR3PTsecA7DI8uOdXC1N8i-ZkyOY,2328
55
- modal/partial_function.py,sha256=pDDNR6KTaIIPpuKQaoO1vgP83_LTwxMhtOn6sVRrmC8,27862
55
+ modal/partial_function.py,sha256=KSpHhu7Gsbe4h-5mcJjxnE4328biKOB7yVouHZbObA8,27798
56
56
  modal/partial_function.pyi,sha256=pO6kf8i5HVsZ7CF0z_KkzLk4Aeq7NJhFJ_VNIycRXaU,9260
57
57
  modal/proxy.py,sha256=ZrOsuQP7dSZFq1OrIxalNnt0Zvsnp1h86Th679sSL40,1417
58
58
  modal/proxy.pyi,sha256=UvygdOYneLTuoDY6hVaMNCyZ947Tmx93IdLjErUqkvM,368
@@ -125,7 +125,7 @@ modal/cli/utils.py,sha256=hZmjyzcPjDnQSkLvycZD2LhGdcsfdZshs_rOU78EpvI,3717
125
125
  modal/cli/volume.py,sha256=Oxc8WGP8wm2a_S87bp-P4OnPwoT1wIYQhbgkCvvFIdI,9998
126
126
  modal/cli/programs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
127
127
  modal/cli/programs/run_jupyter.py,sha256=RRr07CqZrStMbLdBM3PpzU6KM8t9FtLbdIPthg2-Mpw,2755
128
- modal/cli/programs/vscode.py,sha256=mxYivLORF16yW7KfboW1iUG5PBzQZz0l2dqAh48PGxw,3422
128
+ modal/cli/programs/vscode.py,sha256=m80wuQyTALTc7y-kAVqmMjtrcb6muCtpuhxsJm4Va2Y,3453
129
129
  modal/extensions/__init__.py,sha256=waLjl5c6IPDhSsdWAm9Bji4e2PVxamYABKAze6CHVXY,28
130
130
  modal/extensions/ipython.py,sha256=Xvzy-A7cvwMSDa9p4c4CEMLOX2_Xsg9DkM1J9uyu7jc,983
131
131
  modal/requirements/2023.12.312.txt,sha256=zWWUVgVQ92GXBKNYYr2-5vn9rlnXcmkqlwlX5u1eTYw,400
@@ -164,10 +164,10 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
164
164
  modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
165
165
  modal_version/__init__.py,sha256=RT6zPoOdFO99u5Wcxxaoir4ZCuPTbQ22cvzFAXl3vUY,470
166
166
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
167
- modal_version/_version_generated.py,sha256=vcRNyb5Y_hTXLDVDoKYsVJzGGBr6DannF-sGNSIQJPY,149
168
- modal-0.68.53.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
169
- modal-0.68.53.dist-info/METADATA,sha256=y74Ew5_0q9gxaVR53lfi_pRkRlhWBEGQ_Zs-XG3VuSo,2329
170
- modal-0.68.53.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
171
- modal-0.68.53.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
172
- modal-0.68.53.dist-info/top_level.txt,sha256=1nvYbOSIKcmU50fNrpnQnrrOpj269ei3LzgB6j9xGqg,64
173
- modal-0.68.53.dist-info/RECORD,,
167
+ modal_version/_version_generated.py,sha256=7PSDevj3mj7LXnOBilNi_mB_5O3184HSxTHZsjyvBDc,149
168
+ modal-0.68.55.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
169
+ modal-0.68.55.dist-info/METADATA,sha256=fcu55_VjRcoK-DO_lyRq5FVajpeyT-YOeWdjHLHIUpA,2329
170
+ modal-0.68.55.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
171
+ modal-0.68.55.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
172
+ modal-0.68.55.dist-info/top_level.txt,sha256=1nvYbOSIKcmU50fNrpnQnrrOpj269ei3LzgB6j9xGqg,64
173
+ modal-0.68.55.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2024
2
2
 
3
3
  # Note: Reset this value to -1 whenever you make a minor `0.X` release of the client.
4
- build_number = 53 # git: d8d46ad
4
+ build_number = 55 # git: dd65611