add tomli for python < 3.11 compatibility

This commit is contained in:
Anatol Ulrich 2023-10-11 16:58:50 +02:00
parent b1d845a41c
commit 9331b64797
2 changed files with 6 additions and 3 deletions

View File

@ -25,7 +25,10 @@ from os import environ
from functools import wraps
# dependencies imports
import tomllib
try:
import tomllib
except ImportError:
import tomli as tomllib
import logging
# app imports

View File

@ -1,8 +1,8 @@
fastapi
python-jose[cryptography]
toml
strawberry-graphql[fastapi]
uvicorn[standard]
coloredlogs
pydantic
httpx
httpx
tomli