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
osctiny's handling of dictionary parameters to osc.request prevents the creation of url parameters like &view=status&view=binarylist. requests supports this via:
param= {"view": ["status", "binarylist"]}
but the handling inside Osc.handle_params prevents this behavior from applying:
Could such parameters be supported? It is sadly required to fully utilize some buildservice routes without calling the API endpoint twice or three times
The text was updated successfully, but these errors were encountered:
Notice the difference: The latter "correctly" translates the list for the view parameter to multiple key-value pairs in the query. The former incorrectly converts the list to a string and escapes it.
osctiny's handling of dictionary parameters to
osc.request
prevents the creation of url parameters like&view=status&view=binarylist
.requests
supports this via:but the handling inside
Osc.handle_params
prevents this behavior from applying:osc-tiny/osctiny/osc.py
Line 399 in 3e92230
Could such parameters be supported? It is sadly required to fully utilize some buildservice routes without calling the API endpoint twice or three times
The text was updated successfully, but these errors were encountered: