strawberry.exceptions.MissingReturnAnnotationError

The field is missing the return annotation.

Constructor:

Signature:

def __init__(self, field_name: str, resolver: StrawberryResolver) -> None:
...

Parameters:

  1. field_name:

    Type
    str
  2. resolver:

    Type
    StrawberryResolver

Attributes:

  1. function:

  2. message:

  3. rich_message:

  4. suggestion:

  5. annotation_message:

  6. exception_source:

    Type
    ExceptionSource | None