Configuration

config.config(server_url, *, username='', password='', oauth={})

Returns server configuration.

Parameters:
  • server_url (str) – URL of the server
  • username (str) – (optional) name of the authenticating user
  • password (str) – (optional) password of the authenticating user
  • oauth (dict) – (optional) OAuth dict
Return type:

dict

Returns:

Config dict