-
Why do not capitalized the global variable? ss-python/src/ss_python/settings.py Line 34 in c4acbb9 |
Beta Was this translation helpful? Give feedback.
Answered by
huxuan
Nov 21, 2024
Replies: 1 comment 1 reply
-
For the standalone settings module, we just follow the convention in FastAPI here [1]. [1] https://fastapi.tiangolo.com/advanced/settings/#settings-in-another-module |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
huxuan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the standalone settings module, we just follow the convention in FastAPI here [1].
If you mean the difference between
settings
andglobal_settings
, actually I did not think about it but maybe it is OK to follow the same pattern?[1] https://fastapi.tiangolo.com/advanced/settings/#settings-in-another-module