We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! Windows 11, Poetry
` def get_config() -> Config: return Config( TELEGRAM_TOKEN=os.getenv("TELEGRAM_TOKEN"), YANDEX_OAUTH_TOKEN=os.getenv("YANDEX_OAUTH_TOKEN"), YANDEX_TRACKER_ID=os.getenv("YANDEX_TRACKER_ID"), DB_URL=os.getenv("DB_URL", "sqlite://test.sqlite3") )
TORTOISE_ORM = { "connections": {"default": get_config().DB_URL}, "apps": { "models": { "models": ["db.tickets.models", "aerich.models"], "default_connection": "default", }, }, }` My config
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 84: character maps to
cp1252
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! Windows 11, Poetry
`
def get_config() -> Config:
return Config(
TELEGRAM_TOKEN=os.getenv("TELEGRAM_TOKEN"),
YANDEX_OAUTH_TOKEN=os.getenv("YANDEX_OAUTH_TOKEN"),
YANDEX_TRACKER_ID=os.getenv("YANDEX_TRACKER_ID"),
DB_URL=os.getenv("DB_URL", "sqlite://test.sqlite3")
)
TORTOISE_ORM = {
"connections": {"default": get_config().DB_URL},
"apps": {
"models": {
"models": ["db.tickets.models", "aerich.models"],
"default_connection": "default",
},
},
}` My config
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 84: character maps to
cp1252
The text was updated successfully, but these errors were encountered: