Skip to content

protect global context with mutex

Codecov / codecov/patch failed Feb 9, 2024 in 1s

48.71% of diff hit (target 85.53%)

View this Pull Request on Codecov

48.71% of diff hit (target 85.53%)

Annotations

Check warning on line 167 in daft/context.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

daft/context.py#L164-L167

Added lines #L164 - L167 were not covered by tests

Check warning on line 171 in daft/context.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

daft/context.py#L170-L171

Added lines #L170 - L171 were not covered by tests

Check warning on line 173 in daft/context.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

daft/context.py#L173

Added line #L173 was not covered by tests

Check warning on line 178 in daft/context.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

daft/context.py#L177-L178

Added lines #L177 - L178 were not covered by tests

Check warning on line 192 in daft/context.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

daft/context.py#L190-L192

Added lines #L190 - L192 were not covered by tests

Check warning on line 196 in daft/context.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

daft/context.py#L194-L196

Added lines #L194 - L196 were not covered by tests

Check warning on line 216 in daft/context.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

daft/context.py#L214-L216

Added lines #L214 - L216 were not covered by tests

Check warning on line 221 in daft/context.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

daft/context.py#L220-L221

Added lines #L220 - L221 were not covered by tests