Skip to content

fix!: Omit any None passed as a query param in generated clients. #331

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

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

dbanty
Copy link
Collaborator

@dbanty dbanty commented Feb 8, 2021

Closes #285. CC @bowenwr and @forest-benchling since this is my simple solution to an issue that plagues them. I believe aside from the type hinting being wrong in your SDK, this will solve the immediate functionality issue while bringing us more in line with the OpenAPI specification.

@dbanty dbanty requested a review from emann February 8, 2021 20:36
@codecov
Copy link

codecov bot commented Feb 8, 2021

Codecov Report

Merging #331 (21c5eb9) into main (fdeea99) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #331   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           47        47           
  Lines         1390      1390           
=========================================
  Hits          1390      1390           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fdeea99...a92d4ce. Read the comment docs.

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.

Use Optional for Query Params Instead of Union[Unset, ...]
2 participants