Skip to content

Compatibility issue with Python 3.9 #9

Open
@hirak-saharia

Description

@hirak-saharia

TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

Enhance code that runs smoothly on both Python 3.9 and 3.10+ to the following get_schema definition:

  • def get_schema(conf: dict | None = None) -> dict:

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