o
    tBh                     @   sF   d dl Z d dlmZmZmZmZ d dlmZmZ G dd de j	Z
dS )    N)AnyAsyncGeneratorDictOptional)DocumentNodeExecutionResultc                   @   s   e Zd Zejdd Zejdd Zej		ddedee	e
ef  dee
 d	efd
dZej		ddedee	e
ef  dee
 d	eedf fddZdS )AsyncTransportc                    
   t d)z>Coroutine used to create a connection to the specified addressz9Any AsyncTransport subclass must implement connect methodNotImplementedErrorself r   t/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/gql/transport/async_transport.pyconnect      zAsyncTransport.connectc                    r	   )z1Coroutine used to Close an established connectionz7Any AsyncTransport subclass must implement close methodr
   r   r   r   r   close   r   zAsyncTransport.closeNdocumentvariable_valuesoperation_namereturnc                    r	   )zVExecute the provided document AST for either a remote or local GraphQL
        Schema.z9Any AsyncTransport subclass must implement execute methodr
   r   r   r   r   r   r   r   execute   s   	zAsyncTransport.executec                 C   s   t d)zSend a query and receive the results using an async generator

        The query can be a graphql query, mutation or subscription

        The results are sent as an ExecutionResult object
        z;Any AsyncTransport subclass must implement subscribe methodr
   r   r   r   r   	subscribe#   s   zAsyncTransport.subscribe)NN)__name__
__module____qualname__abcabstractmethodr   r   r   r   r   strr   r   r   r   r   r   r   r   r   r      s:    


r   )r   typingr   r   r   r   graphqlr   r   ABCr   r   r   r   r   <module>   s    