diff --git a/.github/workflows/py3.yml b/.github/workflows/py3.yml index f3d1215..824bc34 100644 --- a/.github/workflows/py3.yml +++ b/.github/workflows/py3.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: python: ["3.8", "3.9", "3.10", "3.11"] - netbox: ["3.3", "3.4", "3.5", "3.6", "3.7"] + netbox: ["3.4", "3.5", "3.6", "3.7"] steps: - uses: actions/checkout@v4 diff --git a/pynetbox/core/api.py b/pynetbox/core/api.py index a8a17ba..fa30d03 100644 --- a/pynetbox/core/api.py +++ b/pynetbox/core/api.py @@ -13,6 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + import requests from pynetbox.core.query import Request diff --git a/pynetbox/core/app.py b/pynetbox/core/app.py index cc88c91..1cd1083 100644 --- a/pynetbox/core/app.py +++ b/pynetbox/core/app.py @@ -13,6 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + from pynetbox.core.endpoint import Endpoint from pynetbox.core.query import Request from pynetbox.models import ( diff --git a/pynetbox/core/endpoint.py b/pynetbox/core/endpoint.py index a0369a7..c1ca715 100644 --- a/pynetbox/core/endpoint.py +++ b/pynetbox/core/endpoint.py @@ -13,6 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + from pynetbox.core.query import Request, RequestError from pynetbox.core.response import Record, RecordSet diff --git a/pynetbox/core/query.py b/pynetbox/core/query.py index a2e7c25..08790bf 100644 --- a/pynetbox/core/query.py +++ b/pynetbox/core/query.py @@ -13,6 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + import concurrent.futures as cf import json from packaging import version diff --git a/pynetbox/core/response.py b/pynetbox/core/response.py index d6651b9..9d45f16 100644 --- a/pynetbox/core/response.py +++ b/pynetbox/core/response.py @@ -13,6 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + import copy from collections import OrderedDict diff --git a/pynetbox/models/circuits.py b/pynetbox/models/circuits.py index 0e97cc7..43e5117 100644 --- a/pynetbox/models/circuits.py +++ b/pynetbox/models/circuits.py @@ -13,6 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + from pynetbox.core.response import Record diff --git a/pynetbox/models/dcim.py b/pynetbox/models/dcim.py index ba14588..2e8b6da 100644 --- a/pynetbox/models/dcim.py +++ b/pynetbox/models/dcim.py @@ -13,6 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + from urllib.parse import urlsplit from pynetbox.core.query import Request diff --git a/pynetbox/models/extras.py b/pynetbox/models/extras.py index 82574c0..168d2b7 100644 --- a/pynetbox/models/extras.py +++ b/pynetbox/models/extras.py @@ -13,6 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + from pynetbox.core.response import Record, JsonField diff --git a/pynetbox/models/ipam.py b/pynetbox/models/ipam.py index 6448854..64e0f73 100644 --- a/pynetbox/models/ipam.py +++ b/pynetbox/models/ipam.py @@ -13,6 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + from pynetbox.core.response import Record from pynetbox.core.endpoint import DetailEndpoint diff --git a/pynetbox/models/users.py b/pynetbox/models/users.py index fb8e392..a82f652 100644 --- a/pynetbox/models/users.py +++ b/pynetbox/models/users.py @@ -13,6 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + from pynetbox.core.response import Record, JsonField diff --git a/pynetbox/models/virtualization.py b/pynetbox/models/virtualization.py index a328a43..3c0a27a 100644 --- a/pynetbox/models/virtualization.py +++ b/pynetbox/models/virtualization.py @@ -13,6 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + from pynetbox.core.response import Record, JsonField from pynetbox.models.ipam import IpAddresses diff --git a/pynetbox/models/wireless.py b/pynetbox/models/wireless.py index 851dc74..998df8c 100644 --- a/pynetbox/models/wireless.py +++ b/pynetbox/models/wireless.py @@ -13,6 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + from pynetbox.core.response import Record