Closed vishnubraj closed 4 months ago
v7.3.3
v4.0.2
3.11
Please note I am using Python 3.12 version, as it is not there in the drop-down above I selected 3.11
I am trying to update comments on a device, but it is not accepting comments as an argument
File "/Users/vishnu/drive/network-infra-ops/provision/scripts/netbox_update.py", line 74, in check_device_parameters self.nb.dcim.devices.update(x, comments=device['comments']) TypeError: Endpoint.update() got an unexpected keyword argument 'comments'
it should be able to update the comments section of the device
giving error as TypeError: Endpoint.update() got an unexpected keyword argument 'comments'
TypeError: Endpoint.update() got an unexpected keyword argument 'comments'
Please ignore this ticket. I was passing the argument in wrong way.
pynetbox version
v7.3.3
NetBox version
v4.0.2
Python version
3.11
Steps to Reproduce
Please note I am using Python 3.12 version, as it is not there in the drop-down above I selected 3.11
I am trying to update comments on a device, but it is not accepting comments as an argument
Expected Behavior
it should be able to update the comments section of the device
Observed Behavior
giving error as
TypeError: Endpoint.update() got an unexpected keyword argument 'comments'