Force loading extensions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Guillem Borrell 2024-07-22 11:46:36 +02:00
parent 819c29b3ba
commit 44e850bd18

View file

@ -57,6 +57,10 @@ class DDB:
raise ValueError( raise ValueError(
"With local storage you need to provide the path keyword argument" "With local storage you need to provide the path keyword argument"
) )
# Load extensions
self.db.sql("load spatial;")
self.db.sql("load httpfs;")
def query(self, sql, *args, **kwargs): def query(self, sql, *args, **kwargs):
return self.db.query(sql, *args, **kwargs) return self.db.query(sql, *args, **kwargs)