From fb892f0eed328ba9466f8013ec5d7cf32e0507bd Mon Sep 17 00:00:00 2001 From: Margriet Palm Date: Mon, 19 Feb 2024 14:01:46 +0100 Subject: [PATCH] format --- threedi_schema/application/threedi_database.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/threedi_schema/application/threedi_database.py b/threedi_schema/application/threedi_database.py index 97535cf..91fb9b1 100644 --- a/threedi_schema/application/threedi_database.py +++ b/threedi_schema/application/threedi_database.py @@ -80,7 +80,9 @@ def get_engine(self, get_seperate_engine=False): poolclass = NullPool if str(self.path).endswith(".gpkg"): engine = create_engine( - "gpkg:///{0}".format(self._path), echo=self.echo, poolclass=poolclass + "gpkg:///{0}".format(self._path), + echo=self.echo, + poolclass=poolclass, ) listen(engine, "connect", load_spatialite_gpkg) else: