Skip to content

Python 3.9 unsuported operant type(s) for |: 'EnumMeta' and 'EnumMeta' #3

@radoslaw-wysocki-upp

Description

@radoslaw-wysocki-upp

inside pytablericons/tabler_icons.py
Missing import

from __future__ import annotations

Because i get:

  File "...\.venv\lib\site-packages\pytablericons\tabler_icons.py", line 16, in TablerIcons
    def load(icon: OutlineIcon | FilledIcon, size: int = 24,
TypeError: unsupported operand type(s) for |: 'EnumMeta' and 'EnumMeta'

Process finished with exit code 1

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