add tomli for python < 3.11 compatibility
This commit is contained in:
parent
b1d845a41c
commit
9331b64797
@ -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
|
||||
|
@ -1,8 +1,8 @@
|
||||
fastapi
|
||||
python-jose[cryptography]
|
||||
toml
|
||||
strawberry-graphql[fastapi]
|
||||
uvicorn[standard]
|
||||
coloredlogs
|
||||
pydantic
|
||||
httpx
|
||||
httpx
|
||||
tomli
|
Loading…
Reference in New Issue
Block a user