Update dvc/parsing/__init__.py

This commit is contained in:
skshetry
2023-10-31 08:05:38 -05:00
committed by Dave Berenbaum
parent fcc69ab6eb
commit 46db3ac419
+1 -1
View File
@@ -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]):