mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Update dvc/parsing/__init__.py
This commit is contained in:
@@ -502,7 +502,7 @@ class MatrixDefinition:
|
||||
|
||||
# Matrix entries will have `key` and `item` added to the context.
|
||||
# Warn users if these are already in the context from the global vars.
|
||||
self._warn_if_overwriting(["key", "item"])
|
||||
self._warn_if_overwriting([self.pair.key, self.pair.value])
|
||||
return iterable
|
||||
|
||||
def _warn_if_overwriting(self, keys: List[str]):
|
||||
|
||||
Reference in New Issue
Block a user