GitHub

Selection

API reference for Selection.

A root selection. For a field, body is everything after its name and the response key is alias or name; a fragment spread or inline fragment has no name and body is the whole selection.

Attributes

AttributeTypeDescription
bodyParts
namestr | None = None
aliasstr | None = None

Functions

__init__

__init__(*, body, name=None, alias=None) -> None
ParameterTypeDescription
bodyParts
namestr | None = None
aliasstr | None = None