subgrounds.subgraph.subgraph module#

Subgraph module that defines various classes to manipulate requests and subgraphs.

This module is the glue that connects the lower level modules (i.e.: :module:`query`, :module:`schema`, :module:`transform`, :module:`pagination`) to the higher toplevel modules (i.e.: :module:`subgrounds`).

class subgrounds.subgraph.subgraph.Subgraph(url: 'str', schema: 'SchemaMeta', transforms: 'list[DocumentTransform]' = [<subgrounds.transform.TypeTransform object at 0x7f8be06e3a00>, <subgrounds.transform.TypeTransform object at 0x7f8be06e1000>], is_subgraph: 'bool' = True)#

Bases: object