LazyType

A class that represents a type that will be resolved at runtime.

This is useful when you have circular dependencies between types.

This class is not meant to be used directly, instead use the strawberry.lazy function.

Constructor:

Signature:

def __init__(self, type_name: str, module: str, package: str | None = None) -> None:
...

Parameters:

  1. type_name:

    Type
    str
  2. module:

    Type
    str
  3. package:

    Type
    str | None
    Default
    None

Methods:

Attributes:

  1. type_name:

    Type
    str
  2. module:

    Type
    str
  3. package:

    Type
    str | None