Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions consulate/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
Base Model

"""
import collections
try:
from collections import Iterable # noqa
except ImportError:
from collections.abc import Iterable # noqa


class Model(collections.Iterable):
class Model(Iterable):
"""A model contains an __attribute__ map that defines the name,
its type for type validation, an optional validation method, a method
used to
Expand Down