403Webshell
Server IP : 35.236.43.222  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64
User : deploy ( 1002)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/google-cloud-sdk/lib/surface/tasks/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/google-cloud-sdk/lib/surface/tasks/__pycache__/lease.cpython-311.pyc
�

��
����dZddlmZddlmZddlmZddlmZddlmZddl	m
Z
ddl	mZdd	l	mZej
ejj��Gd
�dej����ZdS)
z`gcloud tasks lease` command.�)�absolute_import)�division)�unicode_literals)�
GetApiAdapter)�base)�flags)�list_formats)�parsersc�.�eZdZdZed���Zd�ZdS)�Leasea�Leases a list of tasks and displays them.

  Each task returned from this command will have its schedule time changed
  based on the lease duration specified. A task that has been returned by
  calling this command will not be returned in a different call before its
  schedule time. After the work associated with a task is finished, the lease
  holder should call `gcloud tasks acknowledge` on the task.
  c��tj�|��tj�|��t	j|dd���t	j|��t	j|d���t	j|��t	j	|��tj|d���dS)NT)�required�plural_tasksz�        The number of seconds for the desired new lease duration for all tasks
        leased, starting from now. The maximum lease duration is 1 week.
        )�helptext)�is_alpha)r�PAGE_SIZE_FLAG�RemoveFromParser�
LIMIT_FLAGr�AddQueueResourceFlag�AddLocationFlag�AddTaskLeaseDurationFlag�AddFilterLeasedTasksFlag�AddMaxTasksToLeaseFlagr	�AddListTasksFormats)�parsers �lib/surface/tasks/lease.py�Argsz
Lease.Args's�����(�(��0�0�0��O�$�$�V�,�,�,�	��v��4�H�H�H�H�	��&�!�!�!�	�"�6�5�
�
�
�
�
�"�6�*�*�*�	� ��(�(�(��$�V�d�;�;�;�;�;�;�c�,�t|�����j}tj|j|j��}tj|j��}tj	|��}|�
||||j���jS)N)�
filter_string�	max_tasks)r�ReleaseTrack�tasksr
�
ParseQueue�queue�location�FormatLeaseDuration�lease_duration�ParseTasksLeaseFilterFlagsr�limit)�self�args�tasks_client�	queue_ref�durationr s      r�Runz	Lease.Run7s��� ��!2�!2�!4�!4�5�5�;�L��"�4�:�t�}�=�=�I��*�4�+>�?�?�H��6�t�<�<�M����i���(,�
��4�4�49�:rN)�__name__�
__module__�__qualname__�__doc__�staticmethodrr0�rrrrsH���������
<�
<��<�
<�:�:�:�:�:rrN)r4�
__future__rrr�googlecloudsdk.api_lib.tasksr�googlecloudsdk.callioper� googlecloudsdk.command_lib.tasksrr	r
�
ReleaseTracksr"�ALPHA�ListCommandrr6rr�<module>r>s���$�#�&�&�&�&�&�&�������'�'�'�'�'�'�6�6�6�6�6�6�(�(�(�(�(�(�2�2�2�2�2�2�9�9�9�9�9�9�4�4�4�4�4�4����D�%�+�,�,� :� :� :� :� :�D�� :� :�-�,� :� :� :r

Youez - 2016 - github.com/yon3zu
LinuXploit