atlassian-python-api
atlassian-python-api copied to clipboard
rest_client.py error on line 481 when values or keys are integers
We should use %
, .format
, or f-strings instead for situations when keys or values are integers, since +
does not automatically type-convert for us.
I think that the user should provide the data with the correct types. There can be parameters which need to be integers.
@Spacetown This is in exception handling, I don't see how the user can specify which values are in the response json, although I am happy to hear suggestions.
https://github.com/atlassian-api/atlassian-python-api/pull/1244 addresses this issue.
@Spacetown @gonchik could I please get your review on this at your convenience?
Ok, for exception handling this can be done. Next time you should use a permalink instead of a line number without a link.