Skip to content

Add `Butler._caching_context` method.

Codecov / codecov/patch failed Nov 14, 2023 in 1s

79.56% of diff hit (target 87.86%)

View this Pull Request on Codecov

79.56% of diff hit (target 87.86%)

Annotations

Check warning on line 107 in python/lsst/daf/butler/_registry_shim.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/_registry_shim.py#L107

Added line #L107 was not covered by tests

Check warning on line 304 in python/lsst/daf/butler/direct_butler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/direct_butler.py#L304

Added line #L304 was not covered by tests

Check warning on line 201 in python/lsst/daf/butler/persistence_context.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/persistence_context.py#L201

Added line #L201 was not covered by tests

Check warning on line 74 in python/lsst/daf/butler/registry/_caching_context.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_caching_context.py#L73-L74

Added lines #L73 - L74 were not covered by tests

Check warning on line 79 in python/lsst/daf/butler/registry/_caching_context.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_caching_context.py#L78-L79

Added lines #L78 - L79 were not covered by tests

Check warning on line 56 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L56

Added line #L56 was not covered by tests

Check warning on line 59 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L58-L59

Added lines #L58 - L59 were not covered by tests

Check warning on line 64 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L64

Added line #L64 was not covered by tests

Check warning on line 78 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L78

Added line #L78 was not covered by tests

Check warning on line 81 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L80-L81

Added lines #L80 - L81 were not covered by tests

Check warning on line 83 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L83

Added line #L83 was not covered by tests

Check warning on line 95 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L95

Added line #L95 was not covered by tests

Check warning on line 97 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L97

Added line #L97 was not covered by tests

Check warning on line 100 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L99-L100

Added lines #L99 - L100 were not covered by tests

Check warning on line 106 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L104-L106

Added lines #L104 - L106 were not covered by tests

Check warning on line 116 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L116

Added line #L116 was not covered by tests

Check warning on line 118 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L118

Added line #L118 was not covered by tests

Check warning on line 134 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L134

Added line #L134 was not covered by tests

Check warning on line 152 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L151-L152

Added lines #L151 - L152 were not covered by tests

Check warning on line 165 in python/lsst/daf/butler/registry/_collection_record_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_record_cache.py#L164-L165

Added lines #L164 - L165 were not covered by tests

Check warning on line 50 in python/lsst/daf/butler/registry/_collection_summary_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_summary_cache.py#L50

Added line #L50 was not covered by tests

Check warning on line 61 in python/lsst/daf/butler/registry/_collection_summary_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_summary_cache.py#L61

Added line #L61 was not covered by tests

Check warning on line 80 in python/lsst/daf/butler/registry/_collection_summary_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_summary_cache.py#L79-L80

Added lines #L79 - L80 were not covered by tests

Check warning on line 83 in python/lsst/daf/butler/registry/_collection_summary_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_summary_cache.py#L83

Added line #L83 was not covered by tests

Check warning on line 86 in python/lsst/daf/butler/registry/_collection_summary_cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/registry/_collection_summary_cache.py#L85-L86

Added lines #L85 - L86 were not covered by tests