From 966b99a1a0eb13d2aa88d656116fc3d9e9acd874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Tue, 25 May 2021 18:23:14 +0000 Subject: document config keys MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Asbjørn Sloth Tønnesen --- config.py.sample | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'config.py.sample') diff --git a/config.py.sample b/config.py.sample index d85e4ef..42bbac4 100644 --- a/config.py.sample +++ b/config.py.sample @@ -1,4 +1,17 @@ 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 { -- cgit v1.2.1