-
Notifications
You must be signed in to change notification settings - Fork 23
Initial implementation of pydantic validation for site adapters #231
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
Open
giffels
wants to merge
29
commits into
MatterMiners:master
Choose a base branch
from
giffels:enable-pydantic-validation-site-adapter
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
4a1fac5
Initial implementation of pydantic validation for site adapters
giffels a52b538
Make black happy again
giffels 3a86c9d
Make Python<3.9 happy
giffels c2e0435
Allow reuse of validators to make python3.8 happy
giffels e3796d5
Fix annotation in siteadapter model
giffels 1a77eca
Allow re-use of machine_meta_data validator
giffels ac630b9
Fix generic typing of AttributeDict
giffels 5363e20
Check instance of Mock for async coroutines to make Python 3.7 happy …
giffels 9a07d8e
Add refresh configuration class method to clear caches
giffels d6f9d08
Update refresh_cache docstring
giffels d470c0a
Add unittest for SiteAdapterBaseModel validation
giffels ef8c6f4
Add unittest for openstack config valdation
giffels 41d58f9
Add openstack url validation test
giffels f0a1fa1
Add cloudstack url validation test
giffels de411dc
Add config validation tests for fake and htcondor site adapter
giffels d06f167
Use patched AsyncOpenStack client version
giffels f4e5fc0
Make flake8 happy again
giffels 3b386fe
Fix setup.py install_require syntax
giffels 74cd31c
Fix HTCondor unittests
giffels b6265d2
Use upstream support for application_credentials
giffels 37a248a
Allow empty machine_type_configuration
giffels 906fc75
Remove unneccasry allow_reuse
giffels 918cea1
Add pydantic validation for Kubernetes
giffels f5a1dc5
Add unittest for kubernetes config validation
giffels 90352fc
Adjust kubernetes documentation since hpa parameter is now optionally
giffels 2150fd4
Simplify deprecation check for Moab and Slurm adapters
giffels 65ad254
Make configuration_validation_model a class variable
giffels ddc952e
Inherit Dict[K,V] in AttributeDict
giffels cc3000e
Apply suggestions from code review
giffels File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.