Skip to content
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

Settings: Improved SettingsField #305

Merged
merged 5 commits into from
Aug 8, 2024

Conversation

martastain
Copy link
Member

@martastain martastain commented Aug 2, 2024

SettingsField is no longer just an alias to pydantic.Field but reimplements it and provides type checking for all additional types used in settings. **kwargs is now used just for backward compatibility (preventing raising errors, instead it logs a message about unsupported argument passed)

image

@martastain martastain linked an issue Aug 2, 2024 that may be closed by this pull request
@martastain martastain requested a review from iLLiCiTiT August 2, 2024 09:18
@martastain martastain self-assigned this Aug 2, 2024
@martastain martastain added the type: enhancement Improvement of existing functionality or minor addition label Aug 2, 2024
@martastain martastain changed the title Settings: improve SettingsField Settings: Improved SettingsField Aug 2, 2024
@martastain martastain marked this pull request as ready for review August 2, 2024 09:18
@martastain martastain merged commit f2cc7c2 into develop Aug 8, 2024
@martastain martastain deleted the 278-settings-improve-settingsfield branch October 21, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Settings: Improve SettingsField
2 participants