Skip to content

Commit 27f78b5

Browse files
committed
mypy
1 parent d9322d4 commit 27f78b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ddtrace/internal/ci_visibility/encoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _get_parent_session(self, traces):
9696
def _build_payload(self, traces):
9797
# type: (List[List[Span]]) -> Tuple[Optional[bytes], int]
9898
if not traces:
99-
return []
99+
return (None, 0)
100100

101101
new_parent_session_span_id = self._get_parent_session(traces)
102102
return self._send_all_or_half_spans(traces, new_parent_session_span_id)

0 commit comments

Comments
 (0)