Skip to content
Snippets Groups Projects
Commit 66e85a3f authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: create_flat_list: make argument optional

parent 9ca0b653
Branches
Tags
2 merge requests!91Release 0.3,!85MAINT: refactor create_flat_list
Pipeline #32981 failed
......@@ -555,7 +555,7 @@ class Crawler(object):
return False
@staticmethod
def create_flat_list(ent_list: list[db.Entity], flat: Optional[set[db.Entity]]):
def create_flat_list(ent_list: list[db.Entity], flat: Optional[set[db.Entity]] = None):
"""
Recursively adds entities and all their properties contained in ent_list to
the output set flat.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment