Traceback (most recent call last):
File "./python/main.py", line 54, in <module>
newHealthcheck = fastly.models.Healthcheck.create(api.conn, data=payload)
File "/usr/local/lib/python2.7/site-packages/fastly/models.py", line 79, in create
instance.save()
File "/usr/local/lib/python2.7/site-packages/fastly/models.py", line 44, in save
resp, data = self._collection_query('POST', body=params_str)
File "/usr/local/lib/python2.7/site-packages/fastly/models.py", line 29, in _collection_query
return self.__class__.query(self.conn, self.COLLECTION_PATTERN, method, suffix, body, **self.attrs)
TypeError: query() got multiple values for keyword argument 'method'
I noticed when trying to create a
Healthcheck
themethod
property clashes with the parameter inquery()
.