I am using Python, and I get a definition from a REST endpoint of the parameters here:
What I want to do is the following:
- Create a function called: CreateDriveTimePolygons
- Add the input parameters
- reference the function within the class that can handle these inputs.
OnlineMethod(above_url).CreateDriveTimePolygons(Input_Location=(25,-34), Drive_Times="5,12,31")
I can use setattr
on the obj to define a pre-made function, but my question is the following:
- How can I change the signature name of the method?
- How can I modify the input parameters of the method?
Thank you
The goal is to not use kwargs or args