pip
:
UPSTASH_REDIS_HOST
, UPSTASH_REDIS_PORT
, and UPSTASH_REDIS_PASSWORD
to your environment:
python-dotenv
to load environment variables from a .env
file:
rediss://
protocol to connect to redis over TLS and set ssl_cert_reqs=required
to enforce certificate validation.
add
task to perform background computations: