in server/plugins/configuration.py [0:0]
def __init__(self, yml: dict):
self.server: ServerConfig = ServerConfig(yml.get("server", {}))
self.database: DBConfig = DBConfig(yml.get("database", {}))
self.tasks: TaskConfig = TaskConfig(yml.get("tasks", {}))
self.oauth: OAuthConfig = OAuthConfig(yml.get("oauth", {}))
self.repos: plugins.repositories.RepoConfig = plugins.repositories.RepoConfig(yml.get("repositories", {}))
self.ldap: plugins.ldap.LDAPConfig = plugins.ldap.LDAPConfig(yml.get("ldap", {}))
self.github: GitHubConfig = GitHubConfig(yml.get("github", {}))