netbox-community / pynetbox

Python API client library for Netbox.
Apache License 2.0
567 stars 168 forks source link

Cable API filtering seems to be broken #513

Closed MajesticFalcon closed 4 weeks ago

MajesticFalcon commented 1 year ago

I cannot seem to get cable filtering to work at all. I believe I should be able to do the following nb.dcim.power_ports.filter(devicestatus='active', cableempty=True').

Furthermore, I suspect that power port filtering is broke all together, it doesn't matter what I put in the filter, I seem to get back everything

abhi1693 commented 1 year ago

This is invalid because the filters you have shown does not exist on the API atleast as of v3.5.8. I suspect you are mixing ORM filters with API filters.

arthanson commented 4 weeks ago

closing