Ë
    8ø»j‹‰  ã                  ó@  — d dl mZ d dlmZmZ d dlmZ d dlmZm	Z	m
Z
mZmZmZmZmZmZ d dlmZmZ d dlmZ d dlmZ d dlmZ er,d d	lmZ d d
lmZmZ d dlm Z m!Z!m"Z"m#Z#m$Z$m%Z% d dl&m'Z' d dl(m)Z)m*Z*  ed«       G d„ de«      «       Z+ ed«       G d„ de«      «       Z,y)é    )Úannotations)ÚTYPE_CHECKINGÚAny)Ú
docs_group)	ÚActorStandbyÚRunÚRunResponseÚTaskÚ	TaskInputÚTaskOptionsÚTaskPublicConfigÚTaskResponseÚUpdateTaskRequest)ÚResourceClientÚResourceClientAsync)Úencode_webhooks_to_base64)Úresponse_to_dict)Ú
to_seconds)Ú	timedelta)ÚActorJobStatusÚ	RunOrigin)Ú	RunClientÚRunClientAsyncÚRunCollectionClientÚRunCollectionClientAsyncÚWebhookCollectionClientÚWebhookCollectionClientAsync)ÚTaskInputDict)ÚTimeoutÚWebhooksListzResource clientsc                  óº  ‡ — e Zd ZdZddœ	 	 	 	 	 	 	 dˆ fd„Zddœdd„Zddddddddddddddddddddd	œ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd
„Zddœdd„Zddœdd„Zddœdd„Z	ddddddddddœ		 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Z
ddddddddddœ		 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d d„Zddœd!d„Zddœd"d„Zd#d„Zdddœd$d„Zd%d„Zˆ xZS )&Ú
TaskClientzÕSub-client for managing a specific task.

    Provides methods to manage a specific task, e.g. update it, delete it, or start runs. Obtain an instance via an
    appropriate method on the `ApifyClient` class.
    úactor-tasks©Úresource_pathc               ó*   •— t        ‰| �  d||dœ|¤Ž y ©N)Úresource_idr%   © ©ÚsuperÚ__init__©Úselfr(   r%   ÚkwargsÚ	__class__s       €úZ/var/www/html/GAP/venv/lib/python3.12/site-packages/apify_client/_resource_clients/task.pyr,   zTaskClient.__init__.   ó   ø€ ô 	‰ÑÐX [ÀÑXÐQWÓXó    Úshort©Útimeoutc               ój   — | j                  |¬«      }|€yt        j                  |«      j                  S ©zæRetrieve the task.

        https://docs.apify.com/api/v2#/reference/actor-tasks/task-object/get-task

        Args:
            timeout: Timeout for the API HTTP request.

        Returns:
            The retrieved task.
        r5   N©Ú_getr   Úmodel_validateÚdata©r.   r6   Úresults      r1   ÚgetzTaskClient.get7   s3   € ð —‘ 7�Ó+ˆØˆ>ØÜ×*Ñ*¨6Ó2×7Ñ7Ð7r3   N©ÚnameÚ
task_inputÚbuildÚ	max_itemsÚmemory_mbytesÚrun_timeoutÚrestart_on_errorÚtitleÚ,actor_standby_desired_requests_per_actor_runÚ(actor_standby_max_requests_per_actor_runÚactor_standby_idle_timeoutÚactor_standby_buildÚactor_standby_memory_mbytesÚ	is_publicÚpublic_config_seo_titleÚpublic_config_seo_descriptionÚ!public_config_input_schema_fieldsÚpublic_config_dataset_nameÚpublic_config_dataset_viewr6   c               ó|  — |�%t        |t        «      st        j                  |«      }t        ||||t	        |||||¬«      t        |||t        |d¬«      |¬«      t        |	|
t        |d¬«      ||¬«      ¬«      } | j                  d	d|i|j                  dd¬«      ¤Ž}t        j                  |«      j                  S )
áü
  Update the task with specified fields.

        https://docs.apify.com/api/v2#/reference/actor-tasks/task-object/update-task

        Args:
            name: Name of the task.
            build: Actor build to run. It can be either a build tag or build number. By default, the run uses
                the build specified in the task settings (typically latest).
            max_items: Maximum number of results that will be returned by this run. If the Actor is charged per result,
                you will not be charged for more results than the given limit.
            memory_mbytes: Memory limit for the run, in megabytes. By default, the run uses a memory limit specified
                in the task settings.
            run_timeout: Optional timeout for the run. By default, the run uses timeout specified
                in the task settings.
            restart_on_error: If true, the Task run process will be restarted whenever it exits with
                a non-zero status code.
            task_input: Task input dictionary.
            title: A human-friendly equivalent of the name.
            actor_standby_desired_requests_per_actor_run: The desired number of concurrent HTTP requests for
                a single Actor Standby run.
            actor_standby_max_requests_per_actor_run: The maximum number of concurrent HTTP requests for
                a single Actor Standby run.
            actor_standby_idle_timeout: If the Actor run does not receive any requests for this time,
                it will be shut down.
            actor_standby_build: The build tag or number to run when the Actor is in Standby mode.
            actor_standby_memory_mbytes: The memory in megabytes to use when the Actor is in Standby mode.
            is_public: Set to `True` to publish the task on its public landing page, or `False` to unpublish it.
                Passing the value the task already has does nothing. Publishing requires the public display
                configuration to be filled in, and write access to the task's Actor.
            public_config_seo_title: SEO title of the public task page. Defaults to the task title when not set.
            public_config_seo_description: SEO description of the public task page. Defaults to the task description
                when not set.
            public_config_input_schema_fields: Names of the task input fields displayed on the public task page.
            public_config_dataset_name: Name of the dataset from the Actor's dataset schema whose results are
                displayed on the public task page.
            public_config_dataset_view: View key from the Actor's dataset schema shown on the public task page.
            timeout: Timeout for the API HTTP request.

        Returns:
            The updated task.
        ©Ú	seo_titleÚseo_descriptionÚinput_schema_fieldsÚdataset_nameÚdataset_viewT©Úas_int©rC   rD   rE   Útimeout_secsrG   ©Údesired_requests_per_actor_runÚmax_requests_per_actor_runÚidle_timeout_secsrC   rE   ©rA   rH   ÚinputrN   Úpublic_configÚoptionsÚactor_standbyr6   ©Úby_aliasÚexclude_noner)   ©Ú
isinstancer   r;   r   r   r   r   r   Ú_updateÚ
model_dumpr   r<   ©r.   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   r6   Útask_fieldsr>   s                          r1   ÚupdatezTaskClient.updateG   sÖ   € ðB Ð!¬*°ZÄÔ*KÜ"×1Ñ1°*Ó=ˆJä'ØØØØÜ*Ø1Ø =Ø$EØ7Ø7ôô  ØØ#Ø+Ü'¨¸DÔAØ!1ôô 'Ø/[Ø+SÜ",Ð-GÐPTÔ"UØ)Ø9ôô'
ˆð6 �—‘Ñj gÐj°×1GÑ1GÐQUÐdhÐ1GÓ1iÑjˆÜ×*Ñ*¨6Ó2×7Ñ7Ð7r3   c               ó(   — | j                  d|¬«      S )á%  Publish the task on its public landing page.

        Convenience wrapper over `update` with `is_public` set to `True`. The task's Actor must be public and
        the task must have its public display configuration set up. Requires write access to the task and to its
        Actor. Publishing an already published task does nothing.

        https://docs.apify.com/api/v2#/reference/actor-tasks/task-object/update-task

        Args:
            timeout: Timeout for the API HTTP request.

        Returns:
            The published task.
        T©rN   r6   ©rr   ©r.   r6   s     r1   ÚpublishzTaskClient.publish©   s   € ð �{‰{ T°7ˆ{Ó;Ð;r3   c               ó(   — | j                  d|¬«      S )á;  Unpublish the task from its public landing page.

        Convenience wrapper over `update` with `is_public` set to `False`. The public display configuration is
        preserved, so the task can be published again without re-entering it. Requires write access to the task
        and to its Actor. Unpublishing a task that is not published does nothing.

        https://docs.apify.com/api/v2#/reference/actor-tasks/task-object/update-task

        Args:
            timeout: Timeout for the API HTTP request.

        Returns:
            The unpublished task.
        Fru   rv   rw   s     r1   Ú	unpublishzTaskClient.unpublishº   s   € ð �{‰{ U°Gˆ{Ó<Ð<r3   c               ó(   — | j                  |¬«       y©zµDelete the task.

        https://docs.apify.com/api/v2#/reference/actor-tasks/task-object/delete-task

        Args:
            timeout: Timeout for the API HTTP request.
        r5   N©Ú_deleterw   s     r1   ÚdeletezTaskClient.deleteË   s   € ð 	�‰˜WˆÕ%r3   Úmedium©	rB   rC   rD   rE   rF   rG   Úwait_for_finishÚwebhooksr6   c       	        ó„  — |�%t        |t        «      st        j                  |«      }| j                  |||t	        |d¬«      ||t        |«      ¬«      }
| j                  j                  | j                  d«      dddi|�|j                  «       nd|
|	¬	«      }t        |«      }t        j                  |«      j                  S ©
aÍ  Start the task and immediately return the Run object.

        https://docs.apify.com/api/v2#/reference/actor-tasks/run-collection/run-task

        Args:
            task_input: Task input dictionary.
            build: Specifies the Actor build to run. It can be either a build tag or build number. By default,
                the run uses the build specified in the task settings (typically latest).
            max_items: Maximum number of results that will be returned by this run. If the Actor is charged
                per result, you will not be charged for more results than the given limit.
            memory_mbytes: Memory limit for the run, in megabytes. By default, the run uses a memory limit specified
                in the task settings.
            run_timeout: Optional timeout for the run. By default, the run uses timeout specified
                in the task settings.
            restart_on_error: If true, the Task run process will be restarted whenever it exits with
                a non-zero status code.
            wait_for_finish: The maximum number of seconds the server waits for the run to finish. By default,
                it is 0, the maximum value is 60.
            webhooks: Optional ad-hoc webhooks (https://docs.apify.com/webhooks/ad-hoc-webhooks) associated with
                the Actor run which can be used to receive a notification, e.g. when the Actor finished or failed.
                If you already have a webhook set up for the Actor or task, you do not have to add it again here.
                Each webhook is represented by a dictionary containing these items:
                    * `event_types`: List of `WebhookEventType` values which trigger the webhook.
                    * `request_url`: URL to which to send the webhook HTTP request.
                    * `payload_template`: Optional template for the request payload.
            timeout: Timeout for the API HTTP request.

        Returns:
            The run object.
        NTr\   )rC   ÚmaxItemsÚmemoryr6   ÚrestartOnErrorÚwaitForFinishr„   ÚrunsÚPOSTzcontent-typezapplication/json; charset=utf-8)ÚurlÚmethodÚheadersÚjsonÚparamsr6   ©rm   r   r;   Ú_build_paramsr   r   Ú_http_clientÚcallÚ
_build_urlro   r   r	   r<   ©r.   rB   rC   rD   rE   rF   rG   rƒ   r„   r6   Úrequest_paramsÚresponser>   s                r1   ÚstartzTaskClient.startÕ   sË   € ðV Ð!¬*°ZÄÔ*KÜ"×1Ñ1°*Ó=ˆJà×+Ñ+ØØØ Ü˜{°4Ô8Ø+Ø)Ü.¨xÓ8ð ,ó 
ˆð ×$Ñ$×)Ñ)Ø—‘ Ó'ØØ#Ð%FÐGØ,6Ð,B�×&Ñ&Ô(ÈØ!Øð *ó 
ˆô " (Ó+ˆÜ×)Ñ)¨&Ó1×6Ñ6Ð6r3   Ú
no_timeout©	rB   rC   rD   rE   rF   rG   r„   Úwait_durationr6   c       	   
     óü   — | j                  ||||||||	¬«      }
| j                  j                  |
j                  | j                  | j
                  | j                  | j                  ¬«      }|j                  |¬«      S )á“  Start a task and wait for it to finish before returning the Run object.

        It waits indefinitely, unless the wait_duration argument is provided.

        https://docs.apify.com/api/v2#/reference/actor-tasks/run-collection/run-task

        Args:
            task_input: Task input dictionary.
            build: Specifies the Actor build to run. It can be either a build tag or build number. By default,
                the run uses the build specified in the task settings (typically latest).
            max_items: Maximum number of results that will be returned by this run. If the Actor is charged per result,
                you will not be charged for more results than the given limit.
            memory_mbytes: Memory limit for the run, in megabytes. By default, the run uses a memory limit specified
                in the task settings.
            run_timeout: Optional timeout for the run. By default, the run uses timeout specified
                in the task settings.
            restart_on_error: If true, the Task run process will be restarted whenever it exits with
                a non-zero status code.
            webhooks: Specifies optional webhooks associated with the Actor run, which can be used to receive
                a notification e.g. when the Actor finished or failed. Note: if you already have a webhook set up for
                the Actor or task, you do not have to add it again here.
            wait_duration: The maximum time the server waits for the task run to finish. If not provided,
                waits indefinitely.
            timeout: Timeout for the API HTTP request.

        Returns:
            The run object.
        ©rB   rC   rD   rE   rF   rG   r„   r6   ©r(   Úbase_urlÚpublic_base_urlÚhttp_clientÚclient_registry©r�   ©rš   Ú_client_registryÚ
run_clientÚidÚ	_base_urlÚ_public_base_urlr”   rƒ   ©r.   rB   rC   rD   rE   rF   rG   r„   r�   r6   Ústarted_runr©   s               r1   r•   zTaskClient.call  sŒ   € ðR —j‘jØ!ØØØ'Ø#Ø-ØØð !ó 	
ˆð ×*Ñ*×5Ñ5Ø#Ÿ™Ø—^‘^Ø ×1Ñ1Ø×)Ñ)Ø ×1Ñ1ð 6ó 
ˆ
ð ×)Ñ)¸Ð)ÓFÐFr3   c               ó�   — | j                   j                  | j                  d«      d| j                  «       |¬«      }t	        |«      S )áS  Retrieve the default input for this task.

        https://docs.apify.com/api/v2#/reference/actor-tasks/task-input-object/get-task-input

        Args:
            timeout: Timeout for the API HTTP request.

        Returns:
            Retrieved task input.

        Raises:
            NotFoundError: If the task does not exist.
        re   ÚGET©r�   rŽ   r‘   r6   ©r”   r•   r–   r“   r   ©r.   r6   r™   s      r1   Ú	get_inputzTaskClient.get_inputV  sJ   € ð ×$Ñ$×)Ñ)Ø—‘ Ó(ØØ×%Ñ%Ó'Øð	 *ó 
ˆô   Ó)Ð)r3   c               óü   — |�%t        |t        «      st        j                  |«      }| j                  j	                  | j                  d«      d| j                  «       |j                  «       |¬«      }t        |«      S )áK  Update the default input for this task.

        https://docs.apify.com/api/v2#/reference/actor-tasks/task-input-object/update-task-input

        Args:
            task_input: The new default input for this task.
            timeout: Timeout for the API HTTP request.

        Returns:
            The updated task input.
        re   ÚPUT©r�   rŽ   r‘   r�   r6   ©	rm   r   r;   r”   r•   r–   r“   ro   r   ©r.   rB   r6   r™   s       r1   Úupdate_inputzTaskClient.update_inputl  su   € ð Ð!¬*°ZÄÔ*KÜ"×1Ñ1°*Ó=ˆJà×$Ñ$×)Ñ)Ø—‘ Ó(ØØ×%Ñ%Ó'Ø×&Ñ&Ó(Øð *ó 
ˆô   Ó)Ð)r3   c                óR   —  | j                   j                  dddi| j                  ¤ŽS ©z,Retrieve a client for the runs of this task.r%   r‹   r)   ©r¨   Úrun_collection_clientÚ_base_client_kwargs©r.   s    r1   r‹   zTaskClient.runs„  ó3   € à:ˆt×$Ñ$×:Ñ:ñ 
Ø ð
à×&Ñ&ñ
ð 	
r3   ©ÚstatusÚoriginc          	     óx   —  | j                   j                  ddd| j                  ||¬«      dœ| j                  ¤ŽS ©aY  Retrieve the client for the last run of this task.

        Last run is retrieved based on the start time of the runs.

        Args:
            status: Consider only runs with this status.
            origin: Consider only runs started with this origin.

        Returns:
            The resource client for the last run of this task.
        Úlastr‹   rÄ   )r(   r%   r‘   r)   ©r¨   r©   r“   rÁ   ©r.   rÅ   rÆ   s      r1   Úlast_runzTaskClient.last_run‹  óM   € ð 0ˆt×$Ñ$×/Ñ/ð 
ØØ Ø×%Ñ%¨V¸FÐ%ÓCñ
ð ×&Ñ&ñ	
ð 	
r3   c                óN   —  | j                   j                  di | j                  ¤ŽS ©z9Retrieve a client for webhooks associated with this task.r)   ©r¨   Úwebhook_collection_clientrÁ   rÂ   s    r1   r„   zTaskClient.webhooksž  ó$   € à>ˆt×$Ñ$×>Ñ>ÑZÀ×AYÑAYÑZÐZr3   ©r(   Ústrr%   rÔ   r/   r   ÚreturnÚNone©r6   r   rÕ   zTask | None©*rA   ú
str | NonerB   ú TaskInputDict | TaskInput | NonerC   rÙ   rD   ú
int | NonerE   rÛ   rF   útimedelta | NonerG   úbool | NonerH   rÙ   rI   rÛ   rJ   rÛ   rK   rÜ   rL   rÙ   rM   rÛ   rN   rÝ   rO   rÙ   rP   rÙ   rQ   zlist[str] | NonerR   rÙ   rS   rÙ   r6   r   rÕ   r
   ©r6   r   rÕ   r
   ©r6   r   rÕ   rÖ   ©rB   rÚ   rC   rÙ   rD   rÛ   rE   rÛ   rF   rÜ   rG   rÝ   rƒ   rÛ   r„   úWebhooksList | Noner6   r   rÕ   r   ©rB   rÚ   rC   rÙ   rD   rÛ   rE   rÛ   rF   rÜ   rG   rÝ   r„   rá   r�   rÜ   r6   r   rÕ   z
Run | None©r6   r   rÕ   Údict©rB   zTaskInputDict | TaskInputr6   r   rÕ   rä   )rÕ   r   )rÅ   úActorJobStatus | NonerÆ   úRunOrigin | NonerÕ   r   )rÕ   r   ©Ú__name__Ú
__module__Ú__qualname__Ú__doc__r,   r?   rr   rx   r{   r€   rš   r•   rµ   r¼   r‹   rÌ   r„   Ú__classcell__©r0   s   @r1   r"   r"   &   sæ  ø„ ñð +ñ	Yð ðYð ð	Yð
 ðYð 
õYð )0õ 8ð&  Ø7;Ø Ø $Ø$(Ø(,Ø(,Ø ØCGØ?CØ7;Ø*.Ø26Ø!%Ø.2Ø48Ø>BØ15Ø15Ø"ñ-`8ð ð`8ð 5ð	`8ð
 ð`8ð ð`8ð "ð`8ð &ð`8ð &ð`8ð ð`8ð 7Að`8ð 3=ð`8ð %5ð`8ð (ð`8ð &0ð`8ð  ð!`8ð" ",ð#`8ð$ (2ð%`8ð& ,<ð'`8ð( %/ð)`8ð* %/ð+`8ð, ð-`8ð. 
ó/`8ðD -4õ <ð" /6õ =ð" ,3õ &ð 8<Ø Ø $Ø$(Ø(,Ø(,Ø&*Ø(,Ø#ñB7ð 5ðB7ð ð	B7ð
 ðB7ð "ðB7ð &ðB7ð &ðB7ð $ðB7ð &ðB7ð ðB7ð 
óB7ðN 8<Ø Ø $Ø$(Ø(,Ø(,Ø(,Ø*.Ø'ñ;Gð 5ð;Gð ð	;Gð
 ð;Gð "ð;Gð &ð;Gð &ð;Gð &ð;Gð (ð;Gð ð;Gð 
ó;Gðz /6õ *ð, Y`õ *ó0
ð ;?Ð[_õ 
÷&[r3   r"   c                  óº  ‡ — e Zd ZdZddœ	 	 	 	 	 	 	 dˆ fd„Zddœdd„Zddddddddddddddddddddd	œ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd
„Zddœdd„Zddœdd„Zddœdd„Z	ddddddddddœ		 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Z
ddddddddddœ		 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d d„Zddœd!d„Zddœd"d„Zd#d„Zdddœd$d„Zd%d„Zˆ xZS )&ÚTaskClientAsynczÚSub-client for managing a specific task.

    Provides methods to manage a specific task, e.g. update it, delete it, or start runs. Obtain an instance via an
    appropriate method on the `ApifyClientAsync` class.
    r#   r$   c               ó*   •— t        ‰| �  d||dœ|¤Ž y r'   r*   r-   s       €r1   r,   zTaskClientAsync.__init__«  r2   r3   r4   r5   c             ƒ  ó†   K  — | j                  |¬«      ƒ d{  –—† }|€yt        j                  |«      j                  S 7 Œ&­wr8   r9   r=   s      r1   r?   zTaskClientAsync.get´  s?   è ø€ ð —y‘y¨�yÓ1×1ˆØˆ>ØÜ×*Ñ*¨6Ó2×7Ñ7Ð7ð 2ús   ‚A˜?™'ANr@   c             ƒ  ó˜  K  — |�%t        |t        «      st        j                  |«      }t        ||||t	        |||||¬«      t        |||t        |d¬«      |¬«      t        |	|
t        |d¬«      ||¬«      ¬«      } | j                  d
d|i|j                  dd¬	«      ¤Žƒ d{  –—† }t        j                  |«      j                  S 7 Œ#­w)rU   NrV   Tr\   r^   r`   rd   r6   ri   r)   rl   rp   s                          r1   rr   zTaskClientAsync.updateÄ  sã   è ø€ ðB Ð!¬*°ZÄÔ*KÜ"×1Ñ1°*Ó=ˆJä'ØØØØÜ*Ø1Ø =Ø$EØ7Ø7ôô  ØØ#Ø+Ü'¨¸DÔAØ!1ôô 'Ø/[Ø+SÜ",Ð-GÐPTÔ"UØ)Ø9ôô'
ˆð6 $�t—|‘|Ñp¨GÐp°{×7MÑ7MÐW[ÐjnÐ7MÓ7oÑp×pˆÜ×*Ñ*¨6Ó2×7Ñ7Ð7ð qús   ‚B"C
Â$CÂ%$C
c             ƒ  óD   K  — | j                  d|¬«      ƒ d{  –—† S 7 Œ­w)rt   Tru   Nrv   rw   s     r1   rx   zTaskClientAsync.publish&  s!   è ø€ ð —[‘[¨4¸�[ÓA×AÐAÐAúó   ‚ ™š c             ƒ  óD   K  — | j                  d|¬«      ƒ d{  –—† S 7 Œ­w)rz   Fru   Nrv   rw   s     r1   r{   zTaskClientAsync.unpublish7  s!   è ø€ ð —[‘[¨5¸'�[ÓB×BÐBÐBúrõ   c             ƒ  óD   K  — | j                  |¬«      ƒ d{  –—†  y7 Œ­wr}   r~   rw   s     r1   r€   zTaskClientAsync.deleteH  s   è ø€ ð �l‰l 7ˆlÓ+×+Ò+ús   ‚ ˜™ r�   r‚   c       	      ƒ  ó   K  — |�%t        |t        «      st        j                  |«      }| j                  |||t	        |d¬«      ||t        |«      ¬«      }
| j                  j                  | j                  d«      dddi|�|j                  «       nd|
|	¬	«      ƒ d{  –—† }t        |«      }t        j                  |«      j                  S 7 Œ.­wr†   r’   r—   s                r1   rš   zTaskClientAsync.startR  sÙ   è ø€ ðV Ð!¬*°ZÄÔ*KÜ"×1Ñ1°*Ó=ˆJà×+Ñ+ØØØ Ü˜{°4Ô8Ø+Ø)Ü.¨xÓ8ð ,ó 
ˆð ×*Ñ*×/Ñ/Ø—‘ Ó'ØØ#Ð%FÐGØ,6Ð,B�×&Ñ&Ô(ÈØ!Øð 0ó 
÷ 
ˆô " (Ó+ˆÜ×)Ñ)¨&Ó1×6Ñ6Ð6ð
ús   ‚BCÂCÂ/Cr›   rœ   c       	   
   ƒ  ó,  K  — | j                  ||||||||	¬«      ƒ d{  –—† }
| j                  j                  |
j                  | j                  | j
                  | j                  | j                  ¬«      }|j                  |¬«      ƒ d{  –—† S 7 Œp7 Œ­w)rŸ   r    Nr¡   r¦   r§   r­   s               r1   r•   zTaskClientAsync.call–  s¤   è ø€ ðR !ŸJ™JØ!ØØØ'Ø#Ø-ØØð 'ó 	
÷ 	
ˆð ×*Ñ*×5Ñ5Ø#Ÿ™Ø—^‘^Ø ×1Ñ1Ø×)Ñ)Ø ×1Ñ1ð 6ó 
ˆ
ð  ×/Ñ/¸mÐ/ÓL×LÐLð#	
øð" Mús"   ‚BŸB A+BÂBÂBÂBc             ƒ  ó¬   K  — | j                   j                  | j                  d«      d| j                  «       |¬«      ƒ d{  –—† }t	        |«      S 7 Œ­w)r°   re   r±   r²   Nr³   r´   s      r1   rµ   zTaskClientAsync.get_inputÒ  sX   è ø€ ð ×*Ñ*×/Ñ/Ø—‘ Ó(ØØ×%Ñ%Ó'Øð	 0ó 
÷ 
ˆô   Ó)Ð)ð
ús   ‚A AÁAÁAc             ƒ  ó  K  — |�%t        |t        «      st        j                  |«      }| j                  j	                  | j                  d«      d| j                  «       |j                  «       |¬«      ƒ d{  –—† }t        |«      S 7 Œ­w)r·   Nre   r¸   r¹   rº   r»   s       r1   r¼   zTaskClientAsync.update_inputè  sƒ   è ø€ ð Ð!¬*°ZÄÔ*KÜ"×1Ñ1°*Ó=ˆJà×*Ñ*×/Ñ/Ø—‘ Ó(ØØ×%Ñ%Ó'Ø×&Ñ&Ó(Øð 0ó 
÷ 
ˆô   Ó)Ð)ð
ús   ‚A6B
Á8BÁ9B
c                óR   —  | j                   j                  dddi| j                  ¤ŽS r¾   r¿   rÂ   s    r1   r‹   zTaskClientAsync.runs   rÃ   r3   rÄ   c          	     óx   —  | j                   j                  ddd| j                  ||¬«      dœ| j                  ¤ŽS rÈ   rÊ   rË   s      r1   rÌ   zTaskClientAsync.last_run  rÍ   r3   c                óN   —  | j                   j                  di | j                  ¤ŽS rÏ   rÐ   rÂ   s    r1   r„   zTaskClientAsync.webhooks  rÒ   r3   rÓ   r×   rØ   rÞ   rß   rà   râ   rã   rå   )rÕ   r   )rÅ   ræ   rÆ   rç   rÕ   r   )rÕ   r   rè   rî   s   @r1   rð   rð   £  sè  ø„ ñð +ñ	Yð ðYð ð	Yð
 ðYð 
õYð /6õ 8ð&  Ø7;Ø Ø $Ø$(Ø(,Ø(,Ø ØCGØ?CØ7;Ø*.Ø26Ø!%Ø.2Ø48Ø>BØ15Ø15Ø"ñ-`8ð ð`8ð 5ð	`8ð
 ð`8ð ð`8ð "ð`8ð &ð`8ð &ð`8ð ð`8ð 7Að`8ð 3=ð`8ð %5ð`8ð (ð`8ð &0ð`8ð  ð!`8ð" ",ð#`8ð$ (2ð%`8ð& ,<ð'`8ð( %/ð)`8ð* %/ð+`8ð, ð-`8ð. 
ó/`8ðD 3:õ Bð" 5<õ Cð" 29õ ,ð 8<Ø Ø $Ø$(Ø(,Ø(,Ø&*Ø(,Ø#ñB7ð 5ðB7ð ð	B7ð
 ðB7ð "ðB7ð &ðB7ð &ðB7ð $ðB7ð &ðB7ð ðB7ð 
óB7ðN 8<Ø Ø $Ø$(Ø(,Ø(,Ø(,Ø*.Ø'ñ:Mð 5ð:Mð ð	:Mð
 ð:Mð "ð:Mð &ð:Mð &ð:Mð &ð:Mð (ð:Mð ð:Mð 
ó:Mðx 5<õ *ð, _fõ *ó0
ð ;?Ð[_õ 
÷&[r3   rð   N)-Ú
__future__r   Útypingr   r   Úapify_client._docsr   Úapify_client._modelsr   r   r	   r
   r   r   r   r   r   Ú/apify_client._resource_clients._resource_clientr   r   Úapify_client._utils.encodingr   Úapify_client._utils.httpr   Úapify_client._utils.timer   Údatetimer   Úapify_client._literalsr   r   Úapify_client._resource_clientsr   r   r   r   r   r   Úapify_client._typeddictsr   Úapify_client.typesr   r    r"   rð   r)   r3   r1   ú<module>r     s—   ðÝ "ç %å )÷
÷ 
õ 
÷ `Ý BÝ 5Ý /áÝ"ç@÷÷ õ 7ß8ñ ÐÓôy[�ó y[ó  ðy[ñx ÐÓôx[Ð)ó x[ó  ñx[r3   