get_operation_type Signature: def get_operation_type(graphql_document: DocumentNode, operation_name: str | None = None) -> OperationType: ... Parameters: graphql_document: Type DocumentNode operation_name: Type str | None Default None