Skip to content
Snippets Groups Projects
Commit a6d5d230 authored by I. Nüske's avatar I. Nüske
Browse files

MNT: Rename list comprehension variable to unconfuse linter

parent aacf902d
Branches
Tags
2 merge requests!128MNT: Added a warning when column metadata is not configured, and a better...,!126Fix pylint errors
Pipeline #59072 failed
......@@ -305,7 +305,7 @@ class DataModel(dict):
for prop in deep_parent.properties:
importance = importances[deep_parent.get_importance(prop.name)]
if (importance <= parent_importance
and prop.name not in [prop.name for prop in entity.properties]):
and prop.name not in [p.name for p in entity.properties]):
entity.add_property(prop)
else:
print(f"Referenced parent \"{parent.name}\" not found in data model.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment