UncountablePythonSDK 0.0.62__py3-none-any.whl → 0.0.64__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.

Potentially problematic release.


This version of UncountablePythonSDK might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: UncountablePythonSDK
3
- Version: 0.0.62
3
+ Version: 0.0.64
4
4
  Summary: Uncountable SDK
5
5
  Project-URL: Homepage, https://github.com/uncountableinc/uncountable-python-sdk
6
6
  Project-URL: Repository, https://github.com/uncountableinc/uncountable-python-sdk.git
@@ -20,6 +20,7 @@ examples/edit_recipe_inputs.py,sha256=mtk_oSkN-OT2hKkb1XKXrRiUaGYTJstXuOKyTR51Fj
20
20
  examples/invoke_uploader.py,sha256=rEvmVY5TjigN_-4PTQdkjY-bC5DrYMcJgquyZ4Tt5FM,748
21
21
  examples/upload_files.py,sha256=tUfKFqiqwnw08OL5Y8_e4j5pSRhp94cFex8XTuVa_ig,487
22
22
  pkgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
+ pkgs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
24
  pkgs/argument_parser/__init__.py,sha256=CsQ6QoPKSLLRVl-z6URAmPkiUL9ZPZoV4rJHgy_-RjA,385
24
25
  pkgs/argument_parser/_is_enum.py,sha256=Gw6jJa8nBwYGqXwwCZbSnWL8Rvr5alkg5lSVAqXtOZM,257
25
26
  pkgs/argument_parser/_is_namedtuple.py,sha256=Rjc1bKanIPPogl3qG5JPBxglG1TqWYOo1nxxhBASQWY,265
@@ -85,7 +86,7 @@ uncountable/integration/entrypoint.py,sha256=wgOXhTzErttRjOzV4rS4psZW5qUKIa5ez89
85
86
  uncountable/integration/job.py,sha256=UrsZHWXKE2wD5M3lFKJCXvDdWj7QMDtAREKv6RBnT3Q,1548
86
87
  uncountable/integration/scan_profiles.py,sha256=3o_h5Ta8ZQEX1epWyXhtyEof0M1b7MobVG7bRKcsFuM,1166
87
88
  uncountable/integration/server.py,sha256=EhzfOyXVNOKUmS5_XN4TZVSke1n1vnGLfuDrVUlo1j4,4528
88
- uncountable/integration/telemetry.py,sha256=9vIyV_4Hfxdh-EEP5dH3SalQOSCHjXchwgSB34M2ndI,7127
89
+ uncountable/integration/telemetry.py,sha256=Hja_cfDorBL0Jm7hMlR26zynIAvODP3hv0L_yFWltVg,7237
89
90
  uncountable/integration/db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
90
91
  uncountable/integration/db/connect.py,sha256=YtQHJ1DBGPhxKFRCfiXqohOYUceKSxMVOJ88aPI48Ug,181
91
92
  uncountable/integration/executors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -247,7 +248,7 @@ uncountable/types/api/triggers/__init__.py,sha256=gCgbynxG3jA8FQHzercKtrHKHkiIKr
247
248
  uncountable/types/api/triggers/run_trigger.py,sha256=_Rpha9nxXI3Xr17CrGDtofg4HZ81x2lt0rMZ6As0qfE,893
248
249
  uncountable/types/api/uploader/__init__.py,sha256=gCgbynxG3jA8FQHzercKtrHKHkiIKr8APdZYUniAor8,55
249
250
  uncountable/types/api/uploader/invoke_uploader.py,sha256=Rc77y5q-3R9-SNQgm8P35zKaW2D1Hbtm7PDixnOn1G0,1025
250
- UncountablePythonSDK-0.0.62.dist-info/METADATA,sha256=1FbyEwn0ijwdznl3f3wpIYDBc0Ie0uTn2oXcH_zk6zM,1993
251
- UncountablePythonSDK-0.0.62.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
252
- UncountablePythonSDK-0.0.62.dist-info/top_level.txt,sha256=1UVGjAU-6hJY9qw2iJ7nCBeEwZ793AEN5ZfKX9A1uj4,31
253
- UncountablePythonSDK-0.0.62.dist-info/RECORD,,
251
+ UncountablePythonSDK-0.0.64.dist-info/METADATA,sha256=iQZ5yMxBDndWZHGZdrQZNHf3qaU33GsvqhW6qS0rA30,1993
252
+ UncountablePythonSDK-0.0.64.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
253
+ UncountablePythonSDK-0.0.64.dist-info/top_level.txt,sha256=1UVGjAU-6hJY9qw2iJ7nCBeEwZ793AEN5ZfKX9A1uj4,31
254
+ UncountablePythonSDK-0.0.64.dist-info/RECORD,,
pkgs/py.typed ADDED
File without changes
@@ -1,6 +1,7 @@
1
1
  import functools
2
2
  import os
3
3
  import time
4
+ import traceback
4
5
  import typing
5
6
  from contextlib import contextmanager
6
7
  from enum import StrEnum
@@ -131,13 +132,14 @@ class Logger:
131
132
  message: str | None = None,
132
133
  attributes: Attributes | None = None,
133
134
  ) -> None:
135
+ traceback_str = "".join(traceback.format_tb(exception.__traceback__))
134
136
  patched_attributes = self._patch_attributes(attributes)
135
137
  if self.current_span is not None:
136
138
  self.current_span.record_exception(
137
139
  exception=exception, attributes=patched_attributes
138
140
  )
139
141
  self.log_error(
140
- message=f"error: {message}\nexception: {exception}",
142
+ message=f"error: {message}\nexception: {exception}{traceback_str}",
141
143
  attributes=patched_attributes,
142
144
  )
143
145