web_monitoring.db.Client.from_env
- classmethod Client.from_env(**kwargs)[source]
Instantiate a
Clientby obtaining its authentication info from these environment variables (all are optional):WEB_MONITORING_DB_URLWEB_MONITORING_DB_EMAILWEB_MONITORING_DB_PASSWORD
Any extra parameters (e.g.
timeout) are passed to theClientconstructor.