Fedora Packages

python3-annotated-types Subpackage of python-annotated-types

Reusable constraint types to use with typing.Annotated

PEP-593 added typing.Annotated as a way of adding context-specific metadata to existing types, and specifies that Annotated[T, x] should be treated as T by any tool or library without special logic for x. This package provides metadata objects which can be used to represent common constraints such as upper and lower bounds on scalar values and collection sizes, a Predicate marker for runtime checks, and descriptions of how we intend these metadata to be interpreted. In some cases, we also note alternative representations which do not require this package.

Releases Overview

Release Stable Testing
Fedora Rawhide 0.6.0-4.fc40 -
Fedora 40 0.6.0-4.fc40 -
Fedora 39 0.6.0-1.fc39 -
Fedora 38 0.6.0-1.fc38 -
File a new bug report »
Package Info

You can contact the maintainers of this package via email at python-annotated-types dash maintainers at fedoraproject dot org.



Sources on Pagure