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

Update parameter_validation.py #33

Merged
merged 2 commits into from
Nov 24, 2023
Merged

Update parameter_validation.py #33

merged 2 commits into from
Nov 24, 2023

Conversation

jramseygreen
Copy link
Contributor

Update expected_input_type_str when type is typing.Optional

Allows parameters to be type e.g. Optional[List[str]] as the conditional for typing.List now triggers

Without this requests always fail with an error response.

jramseygreen and others added 2 commits November 24, 2023 06:39
Update expected_input_type_str when type is typing.Optional

allows parameters to be type e.g. Optional[List[str]]
@Ge0rg3
Copy link
Owner

Ge0rg3 commented Nov 24, 2023

Good catch, added another small fix, many thanks!

@Ge0rg3 Ge0rg3 merged commit 8d4e314 into Ge0rg3:master Nov 24, 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
Development

Successfully merging this pull request may close these issues.

2 participants