from requests.auth import HTTPBasicAuth # # Config keys # =========== # # db_conn_str: libpq database connection string # https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING # # db_schema: database schema name # If not specified, it defaults to 'peeringdb' # # auth: HTTPBasicAuth('username', 'password') # Authenticate using username/password # def get_config(): return { 'db_conn_str': 'dbname=pdbtest', 'db_schema': 'peeringdb', 'auth': HTTPBasicAuth('use_a_dedicated_peeringdb_account', 'and_a_long_random_password'), }