
    i?1i                    d    d dl mZ d dlmZ d dlmZ d dlmZmZ  G d de      Z	 G d de      Z
y	)
    )annotations)Any)ignore_docs)ResourceClientResourceClientAsyncc                  6     e Zd ZdZed fd       ZddZ xZS )WebhookDispatchClientz=Sub-client for querying information about a webhook dispatch.c                L    |j                  dd      }t        |   |d|i| y)z%Initialize the WebhookDispatchClient.resource_pathwebhook-dispatchesNpopsuper__init__selfargskwargsr   	__class__s       /home/www/therecruiter.miabetepe.com/venv/lib/python3.12/site-packages/apify_client/clients/resource_clients/webhook_dispatch.pyr   zWebhookDispatchClient.__init__   -     

?4HI$FmFvF    c                "    | j                         S )  Retrieve the webhook dispatch.

        https://docs.apify.com/api/v2#/reference/webhook-dispatches/webhook-dispatch-object/get-webhook-dispatch

        Returns:
            dict, optional: The retrieved webhook dispatch, or None if it does not exist
        _getr   s    r   getzWebhookDispatchClient.get   s     yy{r   )r   r	   r   r   r   r   returnNone)r   r	   r   dict | None__name__
__module____qualname____doc__r   r   r   __classcell__r   s   @r   r	   r	   
   s    GG G
r   r	   c                  6     e Zd ZdZed fd       ZddZ xZS )WebhookDispatchClientAsynczCAsync sub-client for querying information about a webhook dispatch.c                L    |j                  dd      }t        |   |d|i| y)z*Initialize the WebhookDispatchClientAsync.r   r   Nr   r   s       r   r   z#WebhookDispatchClientAsync.__init__!   r   r   c                >   K   | j                          d{   S 7 w)r   Nr   r   s    r   r   zWebhookDispatchClientAsync.get'   s      YY[   s   )r   r*   r   r   r   r   r   r    )r   r*   r   r!   r"   r(   s   @r   r*   r*      s    MG G
!r   r*   N)
__future__r   typingr   apify_shared.utilsr   apify_client.clients.baser   r   r	   r*    r   r   <module>r2      s*    "  * IN (!!4 !r   