NetBox version
v3.5.0
Python version
3.8
Steps to Reproduce
After upgrading to netbox v3.5.0, the ansible netbox inventory plugin(https://docs.ansible.com/ansible/latest/collections/netbox/netbox/nb_inventory_inventory.html) no longer works and is unable to parse any data using the netbox api.
I have also tested with different versions of the ansible plugin but no joy.
Downgrading the netbox version fixes the issue.
Below is screenshot of error I get when trying this with version 3.5.0.

Anyone got any ideas on why this might not be working with version 3.5.0.
Expected Behavior
Being able to parse netbox inventory data using api
Observed Behavior
ansible plugin unable to parse inventory data.