- Update to version 5.0.1
* Fixes#240 by adding an Api.openapi() method that returns a
dictionary of the entire OpenAPI spec.
Breaking Changes
* Fixes#239, #229, #219, #209, #189, and #166 by allowing
Api.http_session to be overridden by user-supplied custom
requests.Session() objects to more precisely control certain
requests behavior. While this was possible before, it wasn't
applied to all requests. For example, getting session keys
was done in Api().__init__() which wouldn't respect a custom
http_session. This behavior has been changed and will now
only occur when the secrets endpoint is called.
* Note: this change removes the ssl_verify kwarg passed to
.api() that controlled certificate validation in previous
versions. Please see the docs for the new method.
* Fixes#241 where the same objects failed equality tests if one
was derived from a nested object vs directly from that endpoint
* Fixes an inconsistency noted in #224 by making Endpoint.get()
and Endpoint.filter() behave similarly (return None) when the
resource isn't found.
* Fixes#144 by returning proper objects from .create() on detail
endpoint routes like available-ips and available-prefixes.
- Use github source URL
- Update to version 4.3.2
* Adds support for the rack elevation endpoint in NetBox 2.8
- Update to version 4.3.1
* Makes config_contex on virtualization record objects a
JsonField.
OBS-URL: https://build.opensuse.org/request/show/817204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=23
- Update to version 4.1.0
* Makes use of session in requests
* Adds Api.version property to query the NetBox version
* Adds .choices() method to endpoint objects that utilizes DRF's
OPTIONS method for discovering available choices for fields
that use it. This method will eventually replace App.choices()
when NetBox retires the /_choices endpoint.
* Adds count() method to Endpoint object.
* Use requests params to form URL parameters.
* Creates a custom model for ChangeObjects and sets its __str__
to request_id.
* Implements __hash__ method on Record.
* Implements JsonField object.
* Adds local_context_data field to device model as dict.
OBS-URL: https://build.opensuse.org/request/show/749039
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=5