netbox-python
netbox-python copied to clipboard
Extends the netbox client constructor to allow kwargs
NetBox Python version
v0.1.6
NetBox version
v3.6.4
Feature type
Change to existing functionality
Proposed functionality
Allow passing params from the netbox client to the rest client.
It is possible to configure the requests session in the rest client https://github.com/netbox-community/netbox-python/blob/main/netbox_python/rest.py#L39
Unfortunately it is not possible to get any params there because the netbox client doesn't support kwargs https://github.com/netbox-community/netbox-python/blob/main/netbox_python/netbox.py#L25
Use case
It would make it possible to configure the requests session e.g. set verify=false or other settings.
External dependencies
No response