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

Enhance get/filter/all function to exclude config_contexts #70

Open
sirtux opened this issue Aug 4, 2022 · 0 comments
Open

Enhance get/filter/all function to exclude config_contexts #70

sirtux opened this issue Aug 4, 2022 · 0 comments
Labels
hacktoberfest Good issue for Hactoberfest

Comments

@sirtux
Copy link

sirtux commented Aug 4, 2022

As per https://nautobot.readthedocs.io/en/latest/rest-api/overview/#excluding-config-contexts,
by default the full config_context is included in any response unless ?exclude=config_context is explicitly set.

I'd like to have the option in pynautobot to set this option for all get and filter requests against the API.

The most beautiful way would be a global setting when instantiating a pynautobot instance, like with threading,
and the possibility to override it for a specific call if needed.

@jvanderaa jvanderaa added the hacktoberfest Good issue for Hactoberfest label Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Good issue for Hactoberfest
Projects
None yet
Development

No branches or pull requests

2 participants