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

Use Pydantic validate_arguments, and add first version of JSON Schemas #369

Merged

Conversation

tcompa
Copy link
Collaborator

@tcompa tcompa commented Apr 20, 2023

@tcompa tcompa linked an issue Apr 20, 2023 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Apr 20, 2023

Coverage report

The coverage rate went from 78.74% to 81.56% ⬆️
The branch rate is 75%.

None of the new lines are part of the tested code. Therefore, there is no coverage data about them.

tcompa added 2 commits May 30, 2023 11:19
* Use PydanticV1 `validate_arguments` instead of creating
  `TaskArguments` models by hand.
* Update tests.
* Update `args_schema` script.
@tcompa tcompa changed the title WIP work on type hints, pydantic models, defaults, and possibly JSON schemas Work on type hints, pydantic models, defaults, and JSON schemas May 31, 2023
@tcompa tcompa marked this pull request as ready for review June 5, 2023 10:42
@tcompa tcompa changed the title Work on type hints, pydantic models, defaults, and JSON schemas Use Pydantic validate_arguments, and add first version of JSON Schemas Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant