Skip to content

Commit 7f7069c

Browse files
authored
Update for python3.10 moving Callable usage to collections.abc (#174)
1 parent 7926c8a commit 7f7069c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nest/nest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def _cache(self):
156156

157157
def _callback(self, res):
158158
if self.auth_callback is not None and isinstance(self.auth_callback,
159-
collections.Callable):
159+
collections.abc.Callable):
160160
self.auth_callback(res)
161161

162162
def login(self, headers=None):

0 commit comments

Comments
 (0)