Closed markkuleinio closed 10 months ago
Fixes #465
Before this fix:
>>> p = netbox.users.permissions.get(name="ViewSites") >>> p.constraints [{'status': 'active'}, {'region__name': 'Europe'}] >>> type(p.constraints[0]) <class 'pynetbox.core.response.Record'> >>>
After the fix:
>>> p = netbox.users.permissions.get(name="ViewSites") >>> p.constraints [{'status': 'active'}, {'region__name': 'Europe'}] >>> type(p.constraints[0]) <class 'dict'> >>>
Fixes #465
Before this fix:
After the fix: