blaxel 0.1.18rc65__py3-none-any.whl → 0.1.19__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.
@@ -111,4 +111,6 @@ class ClientCredentials(BlaxelAuth):
111
111
 
112
112
  @property
113
113
  def token(self):
114
+ if not self.credentials.access_token:
115
+ self.get_token()
114
116
  return self.credentials.access_token
@@ -183,4 +183,5 @@ class DeviceMode(BlaxelAuth):
183
183
 
184
184
  @property
185
185
  def token(self):
186
+ self.refresh_if_needed()
186
187
  return self.credentials.access_token
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blaxel
3
- Version: 0.1.18rc65
3
+ Version: 0.1.19
4
4
  Summary: Add your description here
5
5
  Project-URL: Homepage, https://blaxel.ai
6
6
  Project-URL: Documentation, https://docs.blaxel.ai
@@ -2,8 +2,8 @@ blaxel/__init__.py,sha256=qmuJKjl5oGnjj4TbqHcJqUkKoxk4PvCsMb6-8rp67pE,159
2
2
  blaxel/agents/__init__.py,sha256=RDWkvfICIXXaQxJuuSu63jsFj_F8NBAL4U752hfN4AE,5262
3
3
  blaxel/authentication/__init__.py,sha256=tL9XKNCek5ixszTqjlKRBvidXMg4Nj6ODlBKlxxA9uk,3283
4
4
  blaxel/authentication/apikey.py,sha256=nOgLVba7EfVk3V-qm7cj-30LAL-BT7NOMIlGL9Ni1jY,1249
5
- blaxel/authentication/clientcredentials.py,sha256=RmkmCoWXCvZHiSmuTsJFHW4goA7F0H8_0m8TBR0Tf70,3804
6
- blaxel/authentication/devicemode.py,sha256=kWbArs4okIIDqW-ql5oV2eQRE_LpRwfadCB6LG83irw,5986
5
+ blaxel/authentication/clientcredentials.py,sha256=BZTg2cYmTe9hhWpHrkoVEoRe-ku8VY5RsxbyYpA7mdc,3879
6
+ blaxel/authentication/devicemode.py,sha256=nCo9-y194L2XDt5_9FOSK36Nc7l6Oxz1NKJQk6g2ses,6019
7
7
  blaxel/authentication/oauth.py,sha256=Q5J0taIK1JrvGB6BC-zz3hM77HPCNu01DPGf4l7xjPQ,1417
8
8
  blaxel/authentication/types.py,sha256=E3lmfbmZuJ4Bc_kGA0Kc0GZC02Sjha1_2CbabP7z6oo,1603
9
9
  blaxel/cache/__init__.py,sha256=i655Ah-0hOKBQXBxLlnnMgK89GHQaOonY30Tv7tKQ04,66
@@ -364,7 +364,7 @@ blaxel/tools/llamaindex.py,sha256=-gQ-C9V_h9a11J4ItsbWjXrCJOg0lRKsb98v9rVsNak,71
364
364
  blaxel/tools/openai.py,sha256=GuFXkj6bXEwldyVr89jEsRAi5ihZUVEVe327QuWiGNs,653
365
365
  blaxel/tools/pydantic.py,sha256=CvnNbAG_J4yBtA-XFI4lQrq3FYKjNd39hu841vZT004,1801
366
366
  blaxel/tools/types.py,sha256=YPCGJ4vZDhqR0X2H_TWtc5chQScsC32nGTQdRKJlO8Y,707
367
- blaxel-0.1.18rc65.dist-info/METADATA,sha256=ddggGZuNM7FiX7SPdRJ_SSXvSGP7HzfGy9F4dgCPDLg,6706
368
- blaxel-0.1.18rc65.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
369
- blaxel-0.1.18rc65.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
370
- blaxel-0.1.18rc65.dist-info/RECORD,,
367
+ blaxel-0.1.19.dist-info/METADATA,sha256=6myytJO13uj7ZyG-YfJ6GmmCnDYUm_MOzaxvYZKdW9c,6702
368
+ blaxel-0.1.19.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
369
+ blaxel-0.1.19.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
370
+ blaxel-0.1.19.dist-info/RECORD,,