Skip to content

Add PEP 593 based types for all modules for cleaner usage #425

Description

@JensHeinrich

PEP 593 creates an easily extendable syntax to annotate type with further information and annotated-types provides a rather easy interface with its Predicate

So adding a line like

Handelsregisternummer = Annotated[str, Predicate(is_valid)]

to the modules seems to be an useful expansion of this packages capabilities

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions