Skip to content

Commit

Permalink
Fix caching
Browse files Browse the repository at this point in the history
  • Loading branch information
srfwx committed Dec 6, 2024
1 parent 2053db8 commit 140c6f7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pynetbox/core/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@ def __next__(self):
self._clear_endpoint_cache()
raise

def __del__(self):
self._clear_endpoint_cache()

def _init_endpoint_cache(self):
self.endpoint._cache = CachedRecordRegistry(self.endpoint.api)

Expand Down

0 comments on commit 140c6f7

Please sign in to comment.