commit | 63e1505cc16bca44ddec134eaec52339d061b8b0 | [log] [tgz] |
---|---|---|
author | Jürg Billeter <j@bitron.ch> | Mon Dec 14 21:36:08 2020 +0100 |
committer | Jürg Billeter <j@bitron.ch> | Thu Mar 04 15:41:26 2021 +0100 |
tree | fc339033b7332f3890fe0d0c00a82646b29734e7 | |
parent | 01b82099624967e3c1f0c757b9c84960eda876a5 [diff] |
element.py: Combine cache query and pull into `_load_artifact()` In non-strict mode cache query and pull are intertwined as we prefer pulling the strict artifact to a cache lookup with the weak cache key. This replaces `__update_artifact_state()` and `_pull()` with a combined `_load_artifact()` method, which supports cache query with deferred pulling. This provides correct behavior with the flexibility of split or combined cache query and pull.