All Questions
1 question
2
votes
1
answer
64
views
How do I pass in a parameter name into a function as an argument in python?
How do I pass in a parameter name into a function as an argument?
def edit_features_retry(editType,data):
AGOLlayer.edit_features(editType=data)
edit_features_retry("adds", datalayer)
...