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.
1 parent 9d95a94 commit 2c2c5d5Copy full SHA for 2c2c5d5
consulate/models/base.py
@@ -2,10 +2,13 @@
2
Base Model
3
4
"""
5
-import collections
+try:
6
+ from collections.abc import Iterable # noqa
7
+except ImportError:
8
+ from collections import Iterable # noqa
9
10
-class Model(collections.Iterable):
11
+class Model(Iterable):
12
"""A model contains an __attribute__ map that defines the name,
13
its type for type validation, an optional validation method, a method
14
used to
0 commit comments