Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extends the netbox client constructor to allow kwargs #19

Open
fsperling opened this issue Dec 5, 2023 · 0 comments
Open

Extends the netbox client constructor to allow kwargs #19

fsperling opened this issue Dec 5, 2023 · 0 comments

Comments

@fsperling
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant