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
No related branches found
No related tags found
2 merge requests!128MNT: Added a warning when column metadata is not configured, and a better...,!126Fix pylint errors
Checking pipeline status
...@@ -305,7 +305,7 @@ class DataModel(dict): ...@@ -305,7 +305,7 @@ class DataModel(dict):
for prop in deep_parent.properties: for prop in deep_parent.properties:
importance = importances[deep_parent.get_importance(prop.name)] importance = importances[deep_parent.get_importance(prop.name)]
if (importance <= parent_importance 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) entity.add_property(prop)
else: else:
print(f"Referenced parent \"{parent.name}\" not found in data model.") 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