web_monitoring.db.Client.from_env

classmethod Client.from_env(**kwargs)[source]

Instantiate a Client by obtaining its authentication info from these environment variables (all are optional):

  • WEB_MONITORING_DB_URL

  • WEB_MONITORING_DB_EMAIL

  • WEB_MONITORING_DB_PASSWORD

Any extra parameters (e.g. timeout) are passed to the Client constructor.