Skip to content

Commit 140c6f7

Browse files
committed
Fix caching
1 parent 2053db8 commit 140c6f7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pynetbox/core/response.py

-3
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,6 @@ def __next__(self):
144144
self._clear_endpoint_cache()
145145
raise
146146

147-
def __del__(self):
148-
self._clear_endpoint_cache()
149-
150147
def _init_endpoint_cache(self):
151148
self.endpoint._cache = CachedRecordRegistry(self.endpoint.api)
152149

0 commit comments

Comments
 (0)