blaxel 0.2.31rc120__py3-none-any.whl → 0.2.31rc121__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.
- blaxel/__init__.py +2 -2
- blaxel/core/client/client.py +2 -18
- {blaxel-0.2.31rc120.dist-info → blaxel-0.2.31rc121.dist-info}/METADATA +1 -1
- {blaxel-0.2.31rc120.dist-info → blaxel-0.2.31rc121.dist-info}/RECORD +6 -6
- {blaxel-0.2.31rc120.dist-info → blaxel-0.2.31rc121.dist-info}/WHEEL +0 -0
- {blaxel-0.2.31rc120.dist-info → blaxel-0.2.31rc121.dist-info}/licenses/LICENSE +0 -0
blaxel/__init__.py
CHANGED
|
@@ -4,8 +4,8 @@ from .core.common.autoload import autoload
|
|
|
4
4
|
from .core.common.env import env
|
|
5
5
|
from .core.common.settings import settings
|
|
6
6
|
|
|
7
|
-
__version__ = "0.2.31.pre-
|
|
8
|
-
__commit__ = "
|
|
7
|
+
__version__ = "0.2.31.pre-121"
|
|
8
|
+
__commit__ = "144bb0a926e288d5f3309d113cbf13c11071a338"
|
|
9
9
|
__sentry_dsn__ = "https://9711de13cd02b285ca4378c01de8dc30@o4508714045276160.ingest.us.sentry.io/4510461121462272"
|
|
10
10
|
__all__ = ["autoload", "settings", "env"]
|
|
11
11
|
|
blaxel/core/client/client.py
CHANGED
|
@@ -105,12 +105,6 @@ class Client:
|
|
|
105
105
|
def get_httpx_client(self) -> httpx.Client:
|
|
106
106
|
"""Get the underlying httpx.Client, constructing a new one if not previously set"""
|
|
107
107
|
if self._client is None:
|
|
108
|
-
# Set default limits if not provided in httpx_args to prevent TLS handshake issues
|
|
109
|
-
limits = self._httpx_args.get("limits")
|
|
110
|
-
if limits is None:
|
|
111
|
-
limits = httpx.Limits(max_connections=100, max_keepalive_connections=20)
|
|
112
|
-
# Disable HTTP/2 to prevent TLS handshake issues in certain environments
|
|
113
|
-
http2 = self._httpx_args.get("http2", False)
|
|
114
108
|
self._client = httpx.Client(
|
|
115
109
|
base_url=self._base_url,
|
|
116
110
|
cookies=self._cookies,
|
|
@@ -119,9 +113,7 @@ class Client:
|
|
|
119
113
|
verify=self._verify_ssl,
|
|
120
114
|
follow_redirects=self._follow_redirects,
|
|
121
115
|
auth=self._auth,
|
|
122
|
-
|
|
123
|
-
http2=http2,
|
|
124
|
-
**{k: v for k, v in self._httpx_args.items() if k not in ("limits", "http2")},
|
|
116
|
+
**self._httpx_args,
|
|
125
117
|
)
|
|
126
118
|
return self._client
|
|
127
119
|
|
|
@@ -145,12 +137,6 @@ class Client:
|
|
|
145
137
|
def get_async_httpx_client(self) -> httpx.AsyncClient:
|
|
146
138
|
"""Get the underlying httpx.AsyncClient, constructing a new one if not previously set"""
|
|
147
139
|
if self._async_client is None:
|
|
148
|
-
# Set default limits if not provided in httpx_args to prevent TLS handshake issues
|
|
149
|
-
limits = self._httpx_args.get("limits")
|
|
150
|
-
if limits is None:
|
|
151
|
-
limits = httpx.Limits(max_connections=100, max_keepalive_connections=20)
|
|
152
|
-
# Disable HTTP/2 to prevent TLS handshake issues in certain environments
|
|
153
|
-
http2 = self._httpx_args.get("http2", False)
|
|
154
140
|
self._async_client = httpx.AsyncClient(
|
|
155
141
|
base_url=self._base_url,
|
|
156
142
|
cookies=self._cookies,
|
|
@@ -159,9 +145,7 @@ class Client:
|
|
|
159
145
|
verify=self._verify_ssl,
|
|
160
146
|
follow_redirects=self._follow_redirects,
|
|
161
147
|
auth=self._auth,
|
|
162
|
-
|
|
163
|
-
http2=http2,
|
|
164
|
-
**{k: v for k, v in self._httpx_args.items() if k not in ("limits", "http2")},
|
|
148
|
+
**self._httpx_args,
|
|
165
149
|
)
|
|
166
150
|
return self._async_client
|
|
167
151
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
blaxel/__init__.py,sha256=
|
|
1
|
+
blaxel/__init__.py,sha256=lABo6aezLieHJrqH77qbHD-5TOHHb9VjRT6zDATcn6M,420
|
|
2
2
|
blaxel/core/__init__.py,sha256=CKMC7TaCYdOdnwqcJCN9VjBbNg366coZUGTxI1mgFQQ,1710
|
|
3
3
|
blaxel/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
blaxel/core/agents/__init__.py,sha256=nZfYRnBlpYLD2rnMpVgl3VabQm4w6NoDbGU3qHtpGhw,4376
|
|
@@ -11,7 +11,7 @@ blaxel/core/authentication/types.py,sha256=_gQ9nj1LF9xEUyHNZC6GIh7hLC11RYOVJL2eP
|
|
|
11
11
|
blaxel/core/cache/__init__.py,sha256=i655Ah-0hOKBQXBxLlnnMgK89GHQaOonY30Tv7tKQ04,66
|
|
12
12
|
blaxel/core/cache/cache.py,sha256=fS3tYFiQFJfnceDLktbiviwyGBv0vysQ80Qn1zL-BwA,1296
|
|
13
13
|
blaxel/core/client/__init__.py,sha256=EeR30NIh2X0SF9oL9kEJbDgSWT_he-y7nbJQvYFgz30,137
|
|
14
|
-
blaxel/core/client/client.py,sha256=
|
|
14
|
+
blaxel/core/client/client.py,sha256=6YTHrnnCWh5sGbOKNwhfXwog0y4tnaPur-FPEN55bO0,7060
|
|
15
15
|
blaxel/core/client/errors.py,sha256=gO8GBmKqmSNgAg-E5oT-oOyxztvp7V_6XG7OUTT15q0,546
|
|
16
16
|
blaxel/core/client/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
17
17
|
blaxel/core/client/response_interceptor.py,sha256=fcxryjNHXCe1rj4MJdSCVaysl83tHeUhDGmJbRASPwE,3057
|
|
@@ -502,7 +502,7 @@ blaxel/telemetry/instrumentation/map.py,sha256=PCzZJj39yiYVYJrxLBNP-NW-tjjYyTijw
|
|
|
502
502
|
blaxel/telemetry/instrumentation/utils.py,sha256=KInMYZH-mu9_wvetmf0EmgrfN3Sw8IWk2Y95v2u90_U,1901
|
|
503
503
|
blaxel/telemetry/log/log.py,sha256=k9Gcs_wCDrZFFGCkcgMBROk2vTJIy7eIVNiP_pI2EPY,2430
|
|
504
504
|
blaxel/telemetry/log/logger.py,sha256=NPAS3g82ryROjvc_DEZaTIfrcehoLEZoP-JkLxADxc0,4113
|
|
505
|
-
blaxel-0.2.
|
|
506
|
-
blaxel-0.2.
|
|
507
|
-
blaxel-0.2.
|
|
508
|
-
blaxel-0.2.
|
|
505
|
+
blaxel-0.2.31rc121.dist-info/METADATA,sha256=yUVzYTELIFX56hjvOlZ_qLEbrIORGGDKaTwT0KwtZKI,10107
|
|
506
|
+
blaxel-0.2.31rc121.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
507
|
+
blaxel-0.2.31rc121.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
|
|
508
|
+
blaxel-0.2.31rc121.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|