This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| from inspect import signature | |
| from typing import Callable, Any, Optional | |
| import redis | |
| cache = redis.Redis(host='localhost', port=6379, db=0) | |
| class CacheReady: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.4" | |
| x-environment: &default-environment | |
| DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres | |
| SECRET_KEY: your-secret-here | |
| PORT: 8000 | |
| GLITCHTIP_DOMAIN: https://glitchtip.yourcompany.com | |
| EMAIL_URL: smtp+tls://smtp-user:[email protected]:587 | |
| DEFAULT_FROM_EMAIL: [email protected] | |
| ENABLE_OPEN_USER_REGISTRATION: "True" | |
| x-depends_on: &default-depends_on |