is_scalar

Signature:

def is_scalar(
annotation: Any,
scalar_registry: Dict[object, ScalarWrapper | ScalarDefinition],
) -> bool:
...

Parameters:

  1. annotation:

    Type
    Any
  2. scalar_registry:

    Type
    Dict[object, ScalarWrapper | ScalarDefinition]