yera.apps.typing

Type system support for app signatures.

Three concerns:

  • validate — at decoration time, checks that an app's parameter and return annotations are drawn from the supported set (primitives, Struct subclasses, Enum subclasses, datetime types, Decimal, pandas DataFrame, and typed collections of these).
  • coerce — at call time, converts incoming argument and return values to their declared types, parsing strings, dicts, and JSON where necessary.
  • utils — shared helpers for rendering type hints as strings.