great_expectations.marshmallow__shade.orderedset
¶
Module Contents¶
Classes¶
|
A mutable set is a finite, iterable container. |
-
class
great_expectations.marshmallow__shade.orderedset.
OrderedSet
(iterable=None)¶ Bases:
collections.abc.MutableSet
A mutable set is a finite, iterable container.
This class provides concrete generic implementations of all methods except for __contains__, __iter__, __len__, add(), and discard().
To override the comparisons (presumably for speed, as the semantics are fixed), all you have to do is redefine __le__ and then the other operations will automatically follow suit.
-
__len__
(self)¶
-
__contains__
(self, key)¶
-
add
(self, key)¶ Add an element.
-
discard
(self, key)¶ Remove an element. Do not raise an exception if absent.
-
__iter__
(self)¶
-
__reversed__
(self)¶
-
pop
(self, last=True)¶ Return the popped value. Raise KeyError if empty.
-
__repr__
(self)¶ Return repr(self).
-
__eq__
(self, other)¶ Return self==value.
-
-
great_expectations.marshmallow__shade.orderedset.
s
¶