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 decorator to validate individual functions #377

Merged
merged 1 commit into from
Oct 12, 2021

Conversation

andersy005
Copy link
Member

@andersy005 andersy005 commented Oct 12, 2021

Change Summary

Decorates some functions with @pydantic.validate_arguments. This allows to check types for standalone functions without needing to build an entire model.

Related issue number

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable

@andersy005 andersy005 added this to the Winter 2021 Release milestone Oct 12, 2021
@andersy005 andersy005 added the enhancement Issues that are found to be a reasonable candidate feature additions label Oct 12, 2021
@andersy005 andersy005 merged commit ad175fa into main Oct 12, 2021
@andersy005 andersy005 deleted the add-pydantic-function-validation branch October 12, 2021 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues that are found to be a reasonable candidate feature additions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant