Skip to content

Switch Block Collections Attribute Error #20

@DanJHaas

Description

@DanJHaas

due to the project being updated to use python 3.11 there was an issue with importing the Collections module in the block_types/switch_block.py file, causing AttributeError: module 'collections' has no attribute 'Iterable'

I was able to fix it by replacing import collections with import collections.abc as collections

I have not found any other instances of this being an issue yet but i thought i would bring it to your attention.

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions