How can I get argument names and their values passed to a method as a dictionary?
I want to specify the optional and required parameters for a GET request as part of a HTTP API in order to build the URL. I'm not sure of the best way to make this pythonic.