Yelp / bravado

Bravado is a python client library for Swagger 2.0 services
Other
604 stars 117 forks source link

How do I make a request with a sanitizing name `async`? #491

Closed george-kuanli-peng closed 1 year ago

george-kuanli-peng commented 1 year ago

How do I make a request with a sanitizing name async? async is a Python reserved keyword and cannot be used in keyword arguments.

george-kuanli-peng commented 1 year ago

Workaround: pass the "asyc" parameter with a dictionary and unpack the dictionary with **.

macisamuele commented 1 year ago

Yeah... Unfortunately the mentioned workaround is the only option available. Closing this as a solution to the issue has been communicated already