We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ace1061 + 458088c commit 4efcab0Copy full SHA for 4efcab0
pynetbox/core/app.py
@@ -95,6 +95,12 @@ def choices(self):
95
def custom_choices(self):
96
""" Returns _custom_field_choices response from app
97
98
+ .. note::
99
+
100
+ This method only works with NetBox version 2.9.x or older. NetBox
101
+ 2.10.0 introduced the ``/extras/custom-fields/`` endpoint that can
102
+ be used f.ex. like ``nb.extras.custom_fields.all()``.
103
104
:Returns: Raw response from NetBox's _custom_field_choices endpoint.
105
:Raises: :py:class:`.RequestError` if called for an invalid endpoint.
106
:Example:
0 commit comments