jararaca 0.3.24__py3-none-any.whl → 0.3.25__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 jararaca might be problematic. Click here for more details.

jararaca/__init__.py CHANGED
@@ -18,7 +18,13 @@ if TYPE_CHECKING:
18
18
  use_app_type,
19
19
  )
20
20
  from jararaca.observability.decorators import TracedClass, TracedFunc, traced_class
21
- from jararaca.observability.hooks import spawn_trace
21
+ from jararaca.observability.hooks import (
22
+ add_event,
23
+ get_tracing_provider,
24
+ record_exception,
25
+ set_span_status,
26
+ spawn_trace,
27
+ )
22
28
  from jararaca.observability.interceptor import ObservabilityInterceptor
23
29
  from jararaca.observability.providers.otel import OtelObservabilityProvider
24
30
  from jararaca.persistence.sort_filter import (
@@ -228,6 +234,10 @@ if TYPE_CHECKING:
228
234
  "TracedClass",
229
235
  "traced_class",
230
236
  "spawn_trace",
237
+ "add_event",
238
+ "set_span_status",
239
+ "record_exception",
240
+ "get_tracing_provider",
231
241
  "QueryInjector",
232
242
  "HttpMicroservice",
233
243
  "use_current_container",
@@ -402,6 +412,10 @@ _dynamic_imports: "dict[str, tuple[str, str, str | None]]" = {
402
412
  "TracedClass": (__SPEC_PARENT__, "observability.decorators", None),
403
413
  "traced_class": (__SPEC_PARENT__, "observability.decorators", None),
404
414
  "spawn_trace": (__SPEC_PARENT__, "observability.hooks", None),
415
+ "add_event": (__SPEC_PARENT__, "observability.hooks", None),
416
+ "set_span_status": (__SPEC_PARENT__, "observability.hooks", None),
417
+ "record_exception": (__SPEC_PARENT__, "observability.hooks", None),
418
+ "get_tracing_provider": (__SPEC_PARENT__, "observability.hooks", None),
405
419
  "QueryInjector": (__SPEC_PARENT__, "persistence.utilities", None),
406
420
  "HttpMicroservice": (__SPEC_PARENT__, "presentation.http_microservice", None),
407
421
  "use_current_container": (__SPEC_PARENT__, "microservice", None),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jararaca
3
- Version: 0.3.24
3
+ Version: 0.3.25
4
4
  Summary: A simple and fast API framework for Python
5
5
  Home-page: https://github.com/LuscasLeo/jararaca
6
6
  Author: Lucas S
@@ -1,7 +1,7 @@
1
1
  LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
2
2
  README.md,sha256=YmCngjU8llW0l7L3tuXkkfr8qH7V9aBMgfp2jEzeiKg,3517
3
- pyproject.toml,sha256=6sYLrOMmNeyU9uwMy6ye483fbPxeNvmrL39AVtHUMcI,2739
4
- jararaca/__init__.py,sha256=niZQiN-Whyw2ExcwQbB8uBDPy90pK36pPwa7dYkecuU,22822
3
+ pyproject.toml,sha256=iPlQyxxgFBxw9owR11Cxr3UFWKstcQErqL_eGuOXxFg,2739
4
+ jararaca/__init__.py,sha256=zQRbt5BrXFVvJW8pKaA9_KdkGFB6Njmr-9SyX0ZfenM,23331
5
5
  jararaca/__main__.py,sha256=-O3vsB5lHdqNFjUtoELDF81IYFtR-DSiiFMzRaiSsv4,67
6
6
  jararaca/broker_backend/__init__.py,sha256=GzEIuHR1xzgCJD4FE3harNjoaYzxHMHoEL0_clUaC-k,3528
7
7
  jararaca/broker_backend/mapper.py,sha256=vTsi7sWpNvlga1PWPFg0rCJ5joJ0cdzykkIc2Tuvenc,696
@@ -76,8 +76,8 @@ jararaca/tools/typescript/interface_parser.py,sha256=yOSuOXKOeG0soGFo0fKiZIabu4Y
76
76
  jararaca/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
77
77
  jararaca/utils/rabbitmq_utils.py,sha256=ytdAFUyv-OBkaVnxezuJaJoLrmN7giZgtKeet_IsMBs,10918
78
78
  jararaca/utils/retry.py,sha256=DzPX_fXUvTqej6BQ8Mt2dvLo9nNlTBm7Kx2pFZ26P2Q,4668
79
- jararaca-0.3.24.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
80
- jararaca-0.3.24.dist-info/METADATA,sha256=uNJ8D0EW1oyL0t2bIodsYE3nVXnr8R6oJGTUc_uXOVw,5149
81
- jararaca-0.3.24.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
82
- jararaca-0.3.24.dist-info/entry_points.txt,sha256=WIh3aIvz8LwUJZIDfs4EeH3VoFyCGEk7cWJurW38q0I,45
83
- jararaca-0.3.24.dist-info/RECORD,,
79
+ jararaca-0.3.25.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
80
+ jararaca-0.3.25.dist-info/METADATA,sha256=NfiyjoAO1CUVU8LTDyIImqCdgUiX7IKrU3XRhcMPTgI,5149
81
+ jararaca-0.3.25.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
82
+ jararaca-0.3.25.dist-info/entry_points.txt,sha256=WIh3aIvz8LwUJZIDfs4EeH3VoFyCGEk7cWJurW38q0I,45
83
+ jararaca-0.3.25.dist-info/RECORD,,
pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "jararaca"
3
- version = "0.3.24"
3
+ version = "0.3.25"
4
4
  description = "A simple and fast API framework for Python"
5
5
  authors = ["Lucas S <me@luscasleo.dev>"]
6
6
  readme = "README.md"