8.7.9. vantage6.common.get_database_config#

get_database_config(databases, label)#

Get database configuration from config file

Parameters:
  • databases (list[dict]) – List of database configurations

  • label (str) – Label of database configuration to retrieve

Returns:

Database configuration, or None if not found

Return type:

Dict | None