Skip to content

Literal type usage #11

Description

@martin-thoma

The Literal type was introduced with PEP 586 in Python 3.8 and can be used with Pydantic. With typing-extensions the Literal type can also be used in Python 3.6+.

Would it be ok to introduce Literal?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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