From 87f460a32ef5184a805926af1323c1bc949ae3d59e1cf0678705c475093fc078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 16 Nov 2019 12:59:48 +0000 Subject: [PATCH] Accepting request 749039 from home:mnhauke:network:automation - 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 --- pynetbox-4.0.8.tar.gz | 3 --- pynetbox-4.1.0.tar.gz | 3 +++ python-pynetbox.changes | 18 ++++++++++++++++++ python-pynetbox.spec | 2 +- 4 files changed, 22 insertions(+), 4 deletions(-) delete mode 100644 pynetbox-4.0.8.tar.gz create mode 100644 pynetbox-4.1.0.tar.gz diff --git a/pynetbox-4.0.8.tar.gz b/pynetbox-4.0.8.tar.gz deleted file mode 100644 index 13ba7ce..0000000 --- a/pynetbox-4.0.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e171380b36bedb7e0cd6a735fe8193d5809b373897b6905a2de43342761426c7 -size 44244 diff --git a/pynetbox-4.1.0.tar.gz b/pynetbox-4.1.0.tar.gz new file mode 100644 index 0000000..7042d1f --- /dev/null +++ b/pynetbox-4.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09525a29f1ac8c1a54772d6e2b94a55b1db6ba6a1c5b07f7af6a6ce232b1f7d5 +size 46054 diff --git a/python-pynetbox.changes b/python-pynetbox.changes index 0cad3ee..f8fe62e 100644 --- a/python-pynetbox.changes +++ b/python-pynetbox.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Sat Nov 16 11:18:49 UTC 2019 - Martin Hauke + +- 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. + ------------------------------------------------------------------- Fri Sep 27 22:21:50 UTC 2019 - Martin Hauke diff --git a/python-pynetbox.spec b/python-pynetbox.spec index 125874f..6df262a 100644 --- a/python-pynetbox.spec +++ b/python-pynetbox.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pynetbox -Version: 4.0.8 +Version: 4.1.0 Release: 0 Summary: NetBox API client library License: Apache-2.0