Currently, there is a waring regarding importing Sequence from collecitons instead of collections.abc:
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Sequence
Attempt to first import form collections.abc followed by collections.
Currently, there is a waring regarding importing
Sequence
fromcollecitons
instead ofcollections.abc
:Attempt to first import form
collections.abc
followed bycollections
.