StrawberryAnnotation

Constructor:

Signature:

def __init__(
self,
annotation: object | str,
namespace: Dict[str, Any] | None = None,
) -> None:
...

Parameters:

  1. annotation:

    Type
    object | str
  2. namespace:

    Type
    Dict[str, Any] | None
    Default
    None

Methods:

Attributes:

  1. raw_annotation:

  2. namespace:

  3. annotation:

    Return evaluated type on success or fallback to raw (string) annotation.

    Type
    object | str