strawberry-graphql 0.260.3__py3-none-any.whl → 0.260.4__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.
- strawberry/extensions/tracing/datadog.py +9 -1
- {strawberry_graphql-0.260.3.dist-info → strawberry_graphql-0.260.4.dist-info}/METADATA +1 -1
- {strawberry_graphql-0.260.3.dist-info → strawberry_graphql-0.260.4.dist-info}/RECORD +6 -6
- {strawberry_graphql-0.260.3.dist-info → strawberry_graphql-0.260.4.dist-info}/LICENSE +0 -0
- {strawberry_graphql-0.260.3.dist-info → strawberry_graphql-0.260.4.dist-info}/WHEEL +0 -0
- {strawberry_graphql-0.260.3.dist-info → strawberry_graphql-0.260.4.dist-info}/entry_points.txt +0 -0
@@ -5,11 +5,19 @@ from functools import cached_property
|
|
5
5
|
from inspect import isawaitable
|
6
6
|
from typing import TYPE_CHECKING, Any, Callable, Optional
|
7
7
|
|
8
|
-
|
8
|
+
import ddtrace
|
9
|
+
from packaging import version
|
9
10
|
|
10
11
|
from strawberry.extensions import LifecycleStep, SchemaExtension
|
11
12
|
from strawberry.extensions.tracing.utils import should_skip_tracing
|
12
13
|
|
14
|
+
parsed_ddtrace_version = version.parse(ddtrace.__version__)
|
15
|
+
if parsed_ddtrace_version >= version.parse("3.0.0"):
|
16
|
+
from ddtrace.trace import Span, tracer
|
17
|
+
else:
|
18
|
+
from ddtrace import Span, tracer
|
19
|
+
|
20
|
+
|
13
21
|
if TYPE_CHECKING:
|
14
22
|
from collections.abc import Generator, Iterator
|
15
23
|
|
@@ -103,7 +103,7 @@ strawberry/extensions/query_depth_limiter.py,sha256=qhVLfZTpp1gpx4O6Qe6bpNBWO7tI
|
|
103
103
|
strawberry/extensions/runner.py,sha256=LCUSzKUrwTYhoIr1nS8uFDN15_YEQ_3BFK1zpPfOfsA,1873
|
104
104
|
strawberry/extensions/tracing/__init__.py,sha256=igoDJBlfh7vGhytJ5njx1qQzpxZOUmdfIaH4j5Kmt3E,1112
|
105
105
|
strawberry/extensions/tracing/apollo.py,sha256=GONBVew2K4j3clAHrVYfIMDQTLAwFtag-uBaYI2yqfk,5900
|
106
|
-
strawberry/extensions/tracing/datadog.py,sha256
|
106
|
+
strawberry/extensions/tracing/datadog.py,sha256=-5zVf5JSjujzNJQvpu7EANumhL1qeMET2ffjmaf8AU4,5800
|
107
107
|
strawberry/extensions/tracing/opentelemetry.py,sha256=4czsWhJnwXbFii3vs4kqKD7r0iOakvnlGr2dlsQ7OwI,7207
|
108
108
|
strawberry/extensions/tracing/utils.py,sha256=tXZNyqfct6YNSWi3GRj4GU1fKQGvSce8ZESfoVeys7U,654
|
109
109
|
strawberry/extensions/utils.py,sha256=sjhxItHzbDhqHtnR63WbE35qzHhTyf9NSffidet79Hc,995
|
@@ -228,8 +228,8 @@ strawberry/utils/logging.py,sha256=U1cseHGquN09YFhFmRkiphfASKCyK0HUZREImPgVb0c,7
|
|
228
228
|
strawberry/utils/operation.py,sha256=SSXxN-vMqdHO6W2OZtip-1z7y4_A-eTVFdhDvhKeLCk,1193
|
229
229
|
strawberry/utils/str_converters.py,sha256=-eH1Cl16IO_wrBlsGM-km4IY0IKsjhjnSNGRGOwQjVM,897
|
230
230
|
strawberry/utils/typing.py,sha256=Ux0Hl46lhuXvOKK-C5hj6nlz3zDn8P4CUGH2nUVD2vU,13373
|
231
|
-
strawberry_graphql-0.260.
|
232
|
-
strawberry_graphql-0.260.
|
233
|
-
strawberry_graphql-0.260.
|
234
|
-
strawberry_graphql-0.260.
|
235
|
-
strawberry_graphql-0.260.
|
231
|
+
strawberry_graphql-0.260.4.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
|
232
|
+
strawberry_graphql-0.260.4.dist-info/METADATA,sha256=SjBQ_1CMFk8FTGTww7hfjll7xXFu0eJzhHHr21YobMQ,7539
|
233
|
+
strawberry_graphql-0.260.4.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
234
|
+
strawberry_graphql-0.260.4.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
|
235
|
+
strawberry_graphql-0.260.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{strawberry_graphql-0.260.3.dist-info → strawberry_graphql-0.260.4.dist-info}/entry_points.txt
RENAMED
File without changes
|