Skip to content

Commit 87eb200

Browse files
committed
fix
1 parent ef44565 commit 87eb200

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

diracx-core/src/diracx/core/settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ class DevelopmentSettings(ServiceSettingsBase):
114114
# called
115115
crash_on_missed_access_policy: bool = False
116116

117+
@classmethod
118+
def create(cls) -> Self:
119+
return cls()
120+
117121

118122
class AuthSettings(ServiceSettingsBase):
119123
"""Settings for the authentication service."""

diracx-routers/src/diracx/routers/factory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ def create_app_inner(
186186
available_sql_db_classes: set[type[BaseSQLDB]] = set()
187187

188188
for db_name, db_url in database_urls.items():
189+
189190
try:
190191
sql_db_classes = BaseSQLDB.available_implementations(db_name)
191192

0 commit comments

Comments
 (0)