File tree Expand file tree Collapse file tree 4 files changed +438
-31
lines changed Expand file tree Collapse file tree 4 files changed +438
-31
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ class SupportedBackend(Enum):
65
65
ELASTIC = "elastic"
66
66
MONGODB = "mongodb"
67
67
MONGOMOCK = "mongomock"
68
+ SQL = "sql"
68
69
69
70
70
71
def config_file_settings (settings : BaseSettings ) -> Dict [str , Any ]:
@@ -157,10 +158,15 @@ class ServerConfig(BaseSettings):
157
158
None , description = "Host settings to pass through to the `Elasticsearch` class."
158
159
)
159
160
161
+ sql_connection : Optional [str ] = Field (
162
+ None , description = "SQLAlchemy connection string."
163
+ )
164
+
160
165
mongo_database : str = Field (
161
- "optimade" , description = "Mongo database for collection data"
166
+ "optimade" , description = "Mongo database name for collection data"
162
167
)
163
168
mongo_uri : str = Field ("localhost:27017" , description = "URI for the Mongo server" )
169
+
164
170
links_collection : str = Field (
165
171
"links" , description = "Mongo collection name for /links endpoint resources"
166
172
)
You can’t perform that action at this time.
0 commit comments