GraphQLField

Constructor:

Signature:

def __init__(
self,
name: str,
alias: str | None,
type: GraphQLType,
default_value: GraphQLArgumentValue | None = None,
) -> None:
...

Parameters:

  1. name:

    Type
    str
  2. alias:

    Type
    str | None
  3. type:

    Type
    GraphQLType
  4. default_value:

    Type
    GraphQLArgumentValue | None
    Default
    None

Attributes:

  1. name:

    Type
    str
  2. alias:

    Type
    str | None
  3. type:

    Type
    GraphQLType
  4. default_value:

    Type
    GraphQLArgumentValue | None