beamlit 0.0.61__py3-none-any.whl → 0.0.62__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.
beamlit/run.py CHANGED
@@ -5,7 +5,6 @@ import urllib.parse
5
5
  from typing import Any
6
6
 
7
7
  import requests
8
-
9
8
  from beamlit.client import AuthenticatedClient
10
9
  from beamlit.common import HTTPError, get_settings
11
10
 
@@ -93,7 +92,7 @@ class RunClient:
93
92
  if json:
94
93
  kwargs["json"] = json
95
94
 
96
- response = self.client.request(method, url, **kwargs)
95
+ response = self.client.get_httpx_client().request(method, url, **kwargs)
97
96
  if response.status_code >= 400 and not cloud:
98
97
  raise HTTPError(response.status_code, response.text)
99
98
  if response.status_code >= 400 and cloud: # Redirect to the public endpoint if the resource is in the cloud and the request fails
@@ -101,7 +100,7 @@ class RunClient:
101
100
  url = urllib.parse.urljoin(settings.run_url, f"{settings.workspace}/{resource_type}s/{resource_name}/{path}")
102
101
  else:
103
102
  url = urllib.parse.urljoin(settings.run_url, f"{settings.workspace}/{resource_type}s/{resource_name}")
104
- response = self.client.request(method, url, **kwargs)
103
+ response = self.client.get_httpx_client().request(method, url, **kwargs)
105
104
  if response.status_code >= 400:
106
105
  raise HTTPError(response.status_code, response.text)
107
106
  return response
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: beamlit
3
- Version: 0.0.61
3
+ Version: 0.0.62
4
4
  Summary: Add your description here
5
5
  Author-email: cploujoux <ch.ploujoux@gmail.com>
6
6
  License-File: LICENSE
@@ -2,7 +2,7 @@ beamlit/__init__.py,sha256=545gFC-wLLwUktWcOAjUWe_Glha40tBetRTOYSfHnbI,164
2
2
  beamlit/client.py,sha256=PnR6ybZk5dLIJPnDKAf2epHOeQC_7yL0fG4muvphHjA,12695
3
3
  beamlit/errors.py,sha256=gO8GBmKqmSNgAg-E5oT-oOyxztvp7V_6XG7OUTT15q0,546
4
4
  beamlit/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
5
- beamlit/run.py,sha256=YMI8iTPB1M9gd_1FG958tw-Prf9EwIcca4jK4igi7MM,4448
5
+ beamlit/run.py,sha256=Gd487TbEZe_fiCXZ3uBEvu6v0tY5QWArPCrqeCbZi08,4485
6
6
  beamlit/types.py,sha256=E1hhDh_zXfsSQ0NCt9-uw90_Mr5iIlsdfnfvxv5HarU,1005
7
7
  beamlit/agents/__init__.py,sha256=bWsFaXUbAps3IsL3Prti89m1s714vICXodbQi77h3vY,206
8
8
  beamlit/agents/chain.py,sha256=JsinjAYBr3oaM4heouZaiaV2jMmi779LHAMtD_4P59s,4867
@@ -254,8 +254,8 @@ beamlit/serve/app.py,sha256=5XZci-R95Zjl97wMtQd1BRtonnkJJ2AeoTVFPKGAOfA,4283
254
254
  beamlit/serve/middlewares/__init__.py,sha256=O7fyfE1DIYmajFY9WWdzxCgeAQWZzJfeUjzHGbpWaAk,309
255
255
  beamlit/serve/middlewares/accesslog.py,sha256=lcu33j4epFSHRBaeTpyt8deNb3kaM3K91-andw4fp80,1112
256
256
  beamlit/serve/middlewares/processtime.py,sha256=3x5w1yQexB0xFNKK6fgLbINxT-eLLunfZ6UDV0bIIF4,944
257
- beamlit-0.0.61.dist-info/METADATA,sha256=khTDKpuZB6tg94YRpH_CCmqaW12DZrYzTRU8g4Yf1Vc,3542
258
- beamlit-0.0.61.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
259
- beamlit-0.0.61.dist-info/entry_points.txt,sha256=zxhgdn7SP-Otk4rEv7LMPAAa9w4TUCLbu9TJi9-K3xg,115
260
- beamlit-0.0.61.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
261
- beamlit-0.0.61.dist-info/RECORD,,
257
+ beamlit-0.0.62.dist-info/METADATA,sha256=wiMy_7X-ZFEDdn2em8HtINgbvmHQRHHZVFJl-NPGeKg,3542
258
+ beamlit-0.0.62.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
259
+ beamlit-0.0.62.dist-info/entry_points.txt,sha256=zxhgdn7SP-Otk4rEv7LMPAAa9w4TUCLbu9TJi9-K3xg,115
260
+ beamlit-0.0.62.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
261
+ beamlit-0.0.62.dist-info/RECORD,,