This issue can be fixed by changing:
-from collections import Sequence +from collections.abc import Sequence
This issue can be fixed by changing:
-from collections import Sequence
+from collections.abc import Sequence