From 66e85a3f93b86adfb48f3e67d1aced24bbff72c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Mon, 23 Jan 2023 10:08:12 +0100
Subject: [PATCH] FIX: create_flat_list: make argument optional

---
 src/caoscrawler/crawl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py
index 3b8ba58d..00be826e 100644
--- a/src/caoscrawler/crawl.py
+++ b/src/caoscrawler/crawl.py
@@ -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.
-- 
GitLab