nautobot / pynautobot

Nautobot Python SDK
https://pynautobot.readthedocs.io/en/latest/index.html
Apache License 2.0
36 stars 32 forks source link

Documentation for Device Filter #91

Closed jvanderaa closed 1 year ago

jvanderaa commented 1 year ago

The device filtering demonstration is incorrect.

 dt = nb.dcim.device_types.get(devicetype)
  devices = nb.dcim.devices.filter(device_type=dt.slug)

Generates an error.