File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 2
2
import logging
3
3
from typing import List
4
4
5
- from ddtrace ._trace .utils_botocore .span_pointers .dynamodb import (
6
- _aws_dynamodb_item_span_pointer_description ,
7
- )
8
- from ddtrace ._trace .utils_botocore .span_pointers .s3 import (
9
- _aws_s3_object_span_pointer_description ,
10
- )
11
5
from ddtrace ._trace ._span_pointer import _SpanPointerDirection
12
6
from ddtrace ._trace ._span_pointer import _SpanPointerDescription
13
7
from datadog_lambda .trigger import EventTypes
@@ -80,6 +74,10 @@ def _calculate_s3_span_pointers_for_object_created_s3_information(
80
74
return []
81
75
82
76
try :
77
+ from ddtrace ._trace .utils_botocore .span_pointers .s3 import (
78
+ _aws_s3_object_span_pointer_description ,
79
+ )
80
+
83
81
return [
84
82
_aws_s3_object_span_pointer_description (
85
83
pointer_direction = _SpanPointerDirection .UPSTREAM ,
@@ -124,6 +122,10 @@ def _calculate_dynamodb_span_pointers_for_event_record(
124
122
return []
125
123
126
124
try :
125
+ from ddtrace ._trace .utils_botocore .span_pointers .dynamodb import (
126
+ _aws_dynamodb_item_span_pointer_description ,
127
+ )
128
+
127
129
return [
128
130
_aws_dynamodb_item_span_pointer_description (
129
131
pointer_direction = _SpanPointerDirection .UPSTREAM ,
You can’t perform that action at this time.
0 commit comments