blaxel 0.1.14rc58__py3-none-any.whl → 0.1.15__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/jobs/__init__.py CHANGED
@@ -2,7 +2,6 @@ import argparse
2
2
  import os
3
3
  import sys
4
4
  import asyncio
5
- import json
6
5
  import requests
7
6
 
8
7
 
@@ -54,18 +53,15 @@ class BlJobWrapper:
54
53
  attributes = {
55
54
  "span.type": "job.start",
56
55
  }
57
- with SpanManager("blaxel-tracer").create_span("job.start", attributes) as span:
58
- try:
59
- parsed_args = self.get_arguments()
60
- if asyncio.iscoroutinefunction(func):
61
- asyncio.run(func(**parsed_args))
62
- else:
63
- func(**parsed_args)
64
- span.set_attribute("job.start.success", True)
65
- except Exception as error:
66
- span.set_attribute("job.start.error", str(error))
67
- print('Job execution failed:', error, file=sys.stderr)
68
- sys.exit(1)
56
+ try:
57
+ parsed_args = self.get_arguments()
58
+ if asyncio.iscoroutinefunction(func):
59
+ asyncio.run(func(**parsed_args))
60
+ else:
61
+ func(**parsed_args)
62
+ except Exception as error:
63
+ print('Job execution failed:', error, file=sys.stderr)
64
+ sys.exit(1)
69
65
 
70
66
 
71
67
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blaxel
3
- Version: 0.1.14rc58
3
+ Version: 0.1.15
4
4
  Summary: Add your description here
5
5
  Author-email: cploujoux <cploujoux@blaxel.ai>
6
6
  License-File: LICENSE
@@ -24,6 +24,9 @@ Requires-Dist: pyyaml<6.1.0,>=6.0.2
24
24
  Requires-Dist: requests<2.33.0,>=2.32.3
25
25
  Requires-Dist: tomli>=2.2.1
26
26
  Requires-Dist: websockets<15.0.0
27
+ Provides-Extra: crewai
28
+ Requires-Dist: crewai>=0.102.0; extra == 'crewai'
29
+ Requires-Dist: opentelemetry-instrumentation-crewai>=0.39.0; extra == 'crewai'
27
30
  Provides-Extra: google-adk
28
31
  Requires-Dist: google-adk>=0.2.0; extra == 'google-adk'
29
32
  Requires-Dist: litellm>=1.63.11; extra == 'google-adk'
@@ -270,7 +270,7 @@ blaxel/instrumentation/log.py,sha256=RvQByRjZMoP_dRaAZu8oK6DTegsHs-xV4W-UIqis6CA
270
270
  blaxel/instrumentation/manager.py,sha256=vX8RT84upjzgCUeiULp9QpDSSNVnPNFxLq0sMVz4Pjs,8974
271
271
  blaxel/instrumentation/map.py,sha256=zZoiUiQHmik5WQZ4VCWNARSa6ppMi0r7D6hlb41N-Mg,1589
272
272
  blaxel/instrumentation/span.py,sha256=X2lwfu_dyxwQTMQJT2vbXOrbVSChEhjRLc413QOxQJM,3244
273
- blaxel/jobs/__init__.py,sha256=cxvpesM2wuwymAUdM9jwku6VpV3QQFIA1ZVVrhCwM-0,6809
273
+ blaxel/jobs/__init__.py,sha256=QBStD3VbrcI93KOHLAz85XcM6L_fSmw76UyQzg50aN0,6545
274
274
  blaxel/mcp/__init__.py,sha256=KednMrtuc4Y0O3lv7u1Lla54FCk8UX9c1k0USjL3Ahk,69
275
275
  blaxel/mcp/client.py,sha256=cFFXfpKXoMu8qTUly2ejF0pX2iBQkSNAxqwvDV1V6xY,4979
276
276
  blaxel/mcp/server.py,sha256=GIldtA_NgIc2dzd7ZpPvpbhpIt_7AfKu5yS_YJ0bDGg,7310
@@ -341,7 +341,7 @@ blaxel/tools/llamaindex.py,sha256=-gQ-C9V_h9a11J4ItsbWjXrCJOg0lRKsb98v9rVsNak,71
341
341
  blaxel/tools/openai.py,sha256=GuFXkj6bXEwldyVr89jEsRAi5ihZUVEVe327QuWiGNs,653
342
342
  blaxel/tools/pydantic.py,sha256=CvnNbAG_J4yBtA-XFI4lQrq3FYKjNd39hu841vZT004,1801
343
343
  blaxel/tools/types.py,sha256=YPCGJ4vZDhqR0X2H_TWtc5chQScsC32nGTQdRKJlO8Y,707
344
- blaxel-0.1.14rc58.dist-info/METADATA,sha256=PGmrsIxtgNlO6k4tqm3R5UYVufsn0oyQu7Df6cWj8QI,11776
345
- blaxel-0.1.14rc58.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
346
- blaxel-0.1.14rc58.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
347
- blaxel-0.1.14rc58.dist-info/RECORD,,
344
+ blaxel-0.1.15.dist-info/METADATA,sha256=8MXW0DSuYAgVPT11EvBPyAk3BZdQb4jlK4Klign_wRg,11924
345
+ blaxel-0.1.15.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
346
+ blaxel-0.1.15.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
347
+ blaxel-0.1.15.dist-info/RECORD,,