You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug part: I was trying to do something like .add_path(['user', 123]) and it didn't raise an exception during the execution of the method but only when i called .get, which is imho late.
Feature request: Everything should be converted to str automatically (not raising error) or at least usual types like int, float. I think it should be user's responsibility to provide desired str output and everyone knows that resulting url is always str.
The text was updated successfully, but these errors were encountered:
`add_path` now uses `*args`
`add_query` now uses both `*args` and `**kwargs`
Closes#13
`add_path` now checks individual types inside given list
Related to #11
BREAKING CHANGE: Modified parameter names for `add_path` and `add_query`
In my wrapper function that i am using to bypass some problems that i encoutered (and reported) i use something as simple as [str(p) for p in path_parts].
Bug part: I was trying to do something like
.add_path(['user', 123])
and it didn't raise an exception during the execution of the method but only when i called.get
, which is imho late.Feature request: Everything should be converted to str automatically (not raising error) or at least usual types like int, float. I think it should be user's responsibility to provide desired str output and everyone knows that resulting url is always str.
The text was updated successfully, but these errors were encountered: