pynautobot
pynautobot copied to clipboard
Nautobot Python SDK
Fixes #169 Adjusts to get `local_config_context_data`
Add a `auth_header` attribute that is used verbatim as Authorization header (i.e. without prefixing `Token `). We use this to support oauth2 flows with Bearer tokens (patch for nautobot will...
This PR adds support for specifying a HTTP user agent string. Rationale: in our codebase we try to set user agent strings to the script calling the API. This makes...
If you go to an app's API endpoint you get back a list of endpoints. For example https://demo.nautobot.com/api/ipam/ shows you all of the available endpoints for the IPAM app. We...
In pynautobot 2.0.2 response.py, Line 253: `if k in ["custom_fields", "local_context_data"] or hasattr(lookup, "_json_field") ` should be changed to: `if k in ["custom_fields", "local_config_context_data"] or hasattr(lookup, "_json_field").` Fieldname "local_context_data" has...
# Improve notes support ## Current State API does not have a "notes" attr in the return payload and only returns "notes_url" as a link to a list view for...
Add docstrings for better documentation of models, inputs, outputs, etc.
```[tasklist] ### Tasks - [ ] Update docs on statuses i.e "active" --> {"name": "Active"} or object.id ```
```[tasklist] ### Tasks - [x] Update unittests, add new model tests, update changed models - [x] Update integration tests ```
Per issue #65... It would be good to provide a more descriptive `__repr__` to not confuse what the object is that is being viewed.