Skip to content

Commit 821e4e9

Browse files
committed
fix typing and default value
1 parent 9421fe3 commit 821e4e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ddtrace/internal/coverage/code.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
_original_exec = exec
2828

29-
ctx_covered = ContextVar("ctx_covered", default=None)
29+
ctx_covered: ContextVar[t.List[t.DefaultDict[str, CoverageLines]]] = ContextVar("ctx_covered", default=[])
3030
ctx_is_import_coverage = ContextVar("ctx_is_import_coverage", default=False)
3131
ctx_coverage_enabled = ContextVar("ctx_coverage_enabled", default=False)
3232

0 commit comments

Comments
 (0)