-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor core API based on Pydantic models and direct loading from external sources #18
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
Conversation
aceca0d
to
d594a46
Compare
@stevenbal This is not quite done, I need to do another pass for docstrings, some naming issues, and so on, but if you have a moment this week, it would be great to get a high level sign-off on the basic approach here before I publish it. |
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.
Looks good overall! Some minor remarks/questions
django_setup_configuration/management/commands/setup_configuration.py
Outdated
Show resolved
Hide resolved
11d2dc2
to
46eccfa
Compare
2da8c93
to
c7e38cb
Compare
Looks good to me! Like you mentioned, the naming issues can be tackled in a separate PR |
6f219b8
to
c894d95
Compare
881410d
to
fb9bf86
Compare
fb9bf86
to
eed63d1
Compare
Based on discussions related both to PodiumD integration and broader lessons learned with regards to configuration management, this PR implements the first (big) iteration on the new design: step configs are loaded directly from external sources and are fully typed and validated using Pydantic.
This PR has removed two hooks from the API (the configuration check, and the self test), not because they are not important, but because such "liveness" and "health" checks arguably belong elsewhere. Documentation generation and multi-file yaml sources will be implemented in an upcoming iteration.