pynetbox
pynetbox copied to clipboard
.updates() returns true if customfields are of the type 'object/multiobject'
A customfield is provided as 'array of dicts' by the API, But when returning, it has to be an array of integers. There is a bug report for that on NetBox git https://github.com/netbox-community/netbox/issues/10241 and https://github.com/netbox-community/netbox/pull/10479 It is however not clear on how this will be fixed.
Will the API send ID's only, or will it accept dicts.
I'm creating this bugreport, as pynetbox might need to be adjusted, depending on the decision made in the NetBox API