Skip to content

Why do not capitalized the global variable? #806

Closed Answered by huxuan
you-n-g asked this question in Q&A
Discussion options

You must be logged in to vote

For the standalone settings module, we just follow the convention in FastAPI here [1].
If you mean the difference between settings and global_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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@you-n-g
Comment options

Answer selected by huxuan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants