Skip to content

importing Literal and get_args is not compatible with python lower than 3.8 #15

Description

@ahmedtariq

importing Literal and get_args is not compatible with python lower than 3.8. By adding the try/except makes the module compatible with python 3.7.*
I have made a pull request here:
#14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions