问题 Is there a way to pass an HTTP verb (PATCH/POST) to a function and dynamically use that verb for Python requests? For example, I want this function to take a 'verb' variable which is only called internally and will either = post/patch. def dnsChange(self, zID, verb): for record in config.NEW_DNS: ### LINE BELOW IS ALL THAT MATTERS TO THIS QUESTION json = requests.verb(headers=self.auth, url=self.API + '/zones/' + str(zID) + '/dns_records', data={"type":record[0], "name":record[1], "content"