Add Configuration App [QUESTION] #7766
-
First check
Descriptionin
in
How i can do this in fast api ??? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi, @FerdinaKusumah ! |
Beta Was this translation helpful? Give feedback.
-
Thanks @SlyFoxy ! @FerdinaKusumah also, you don't really need to save stuff to the For example, with Pydantic's |
Beta Was this translation helpful? Give feedback.
-
Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues. |
Beta Was this translation helpful? Give feedback.
Thanks @SlyFoxy !
@FerdinaKusumah also, you don't really need to save stuff to the
app
object. You can store things in a variable that you use in other places.For example, with Pydantic's
BaseSettings
: https://pydantic-docs.helpmanual.io/usage/settings/