diff --git a/core/utils/lineage.py b/core/utils/lineage.py index c75cfe8c..398ed2fe 100644 --- a/core/utils/lineage.py +++ b/core/utils/lineage.py @@ -6,7 +6,9 @@ def get_lineages_list(): """Function gets the lineage names and return then in an ordered list""" latest_schema = core.utils.schema.get_default_schema() - lineage_name_field_id = core.models.LineageFields.objects.filter(schemaID=latest_schema).first() + lineage_name_field_id = core.models.LineageFields.objects.filter( + schemaID=latest_schema + ).first() return list( core.models.LineageValues.objects.all() .filter(lineage_fieldID=lineage_name_field_id)