-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reworked Config #33
Reworked Config #33
Conversation
I can help either this week or weekend with anything in here if you need it. |
Switched config to a type validated pydantic setting class Introduces breaking changes to config file add support for bitwarden secrets manager
Fixed Forms to return proper execptions
8593520
to
1c578e6
Compare
util/options.py
Outdated
|
||
return options.get(arg, None) | ||
# Reads config from ../config/options.yml | ||
here = os.path.abspath(os.path.dirname(__file__)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of doing this raw in the python file, it's probably best to make Settings()
into a different class and add this to the constructor with "options.yml" as the default value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am going to be honest I have no idea how that function works, chatgpt wrote it
fixed command injection in settings module
Switched config to a type validated pydantic setting class Introduces breaking changes to config file
add support for bitwarden secrets manager
fixed #4
supersedes #32
TODO