(
opt: _LoadElement,
replacement_cache_key: CacheKey,
orig_cache_key: CacheKey,
)
| 1072 | assert orig_cache_key is not None |
| 1073 | |
| 1074 | def process( |
| 1075 | opt: _LoadElement, |
| 1076 | replacement_cache_key: CacheKey, |
| 1077 | orig_cache_key: CacheKey, |
| 1078 | ) -> _LoadElement: |
| 1079 | cloned_opt = opt._clone() |
| 1080 | |
| 1081 | cloned_opt._extra_criteria = tuple( |
| 1082 | replacement_cache_key._apply_params_to_element( |
| 1083 | orig_cache_key, crit |
| 1084 | ) |
| 1085 | for crit in cloned_opt._extra_criteria |
| 1086 | ) |
| 1087 | |
| 1088 | return cloned_opt |
| 1089 | |
| 1090 | cloned = self._clone() |
| 1091 | cloned.context = tuple( |
no test coverage detected