Skip to content

Conversation

da1910
Copy link
Collaborator

@da1910 da1910 commented Nov 21, 2022

Closes #284

This PR ensures that query parameters are converted to strings before we try to concatentate them into the actual query string.
Uses implicit string conversion via an f-string for clarity.

@codecov
Copy link

codecov bot commented Nov 21, 2022

Codecov Report

Merging #288 (4e8ecda) into main (a6c28b6) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #288   +/-   ##
=======================================
  Coverage   93.94%   93.94%           
=======================================
  Files           8        8           
  Lines         793      793           
=======================================
  Hits          745      745           
  Misses         48       48           
Impacted Files Coverage Δ
src/ansys/openapi/common/_api_client.py 97.17% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@ludovicsteinbach ludovicsteinbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@da1910 da1910 merged commit 2a6f266 into main Nov 21, 2022
@da1910 da1910 deleted the fix/284_non_string_query_params branch November 21, 2022 10:24
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.

Non-string query parameters raise exception

2 participants