mypy error #428
Answered
by
gi0baro
dineshbvadhia
asked this question in
Q&A
mypy error
#428
-
Using mypy on starting up granian generates the errors:
Importing Interfaces and LogLevels to explicitly set the type-hints generates the same errors. What am I doing wrong?
|
Beta Was this translation helpful? Give feedback.
Answered by
gi0baro
Nov 6, 2024
Replies: 1 comment
-
Just use those enums: granian.Granian(
"myapp:app",
interface=Interfaces.ASGI,
address="0.0.0.0",
port=8000,
log_level=LogLevels.critical,
reload=False
).serve() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dineshbvadhia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just use those enums: