QueryCodegen
Constructor:
Signature:
def __init__( self, schema: Schema, plugins: List[QueryCodegenPlugin], console_plugin: ConsolePlugin | None = None,) -> None: ...
Parameters:
-
schema:
- Type
-
Schema
-
plugins:
- Type
-
List[QueryCodegenPlugin]
-
console_plugin:
- Type
-
ConsolePlugin | None
- Default
-
None
Methods:
-
run
Signature:
def run(self, query: str) -> CodegenResult:...Parameters:
-
query:
- Type
-
str
-
-
generate_code
Signature:
def generate_code(self) -> CodegenResult:...
Attributes:
-
schema:
-
plugin_manager:
-
types:
- Type
-
List[GraphQLType]