yera.typing.utils

Helpers for the app module's typing infrastructure.

Symbols

def get_type_name — Render a type hint as a human-readable string.

get_type_name

get_type_name(
    type_hint: TypeHint,
) → str

Render a type hint as a human-readable string.

Parameters

type_hint
type: TypeHint

the type hint to convert.

Returns

type: str

str representing the type.