get_first_operation

Signature:

def get_first_operation(graphql_document: DocumentNode) -> OperationDefinitionNode | None:
...

Parameters:

  1. graphql_document:

    Type
    DocumentNode