*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Unverified Commit 7f9363b9 authored by Mahler, Lukas's avatar Mahler, Lukas
Browse files

use get DbRepoConnector creation

parent 81b90379
Branches
No related tags found
No related merge requests found
...@@ -82,12 +82,12 @@ class DBRepoConnector: ...@@ -82,12 +82,12 @@ class DBRepoConnector:
@classmethod @classmethod
def from_config(cls, config: dict, credentials: dict): def from_config(cls, config: dict, credentials: dict):
return cls( return cls(
credentials["username"], credentials.get("username"),
credentials["password"], credentials.get("password"),
credentials["client_secret_key"], credentials.get("client_secret_key"),
config["host"], config.get("host"),
# config["container-id"], # config["container-id"],
config["database-id"] config.get("database-id")
) )
def authenticate(self, username: str = None, password: str = None): def authenticate(self, username: str = None, password: str = None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment