code: def get_database_configuration():
      
      db_config = get_database_config_file()
      if db_config is None:
          return None
      with open(db_config, 'r') as ymlfile:
          cfg = yaml.load(ymlfile)
      return cfg
docs: Get database configuration as dictionary.