Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
async_timeout
/
__pycache__
[ HOME ]
Exec
Submit
__init__.cpython-311.pyc
� ��ghJ � �* � d dl Z d dlZd dlZd dlZd dlmZ d dlmZmZ ej dk rd dlm Z nd dlm Z ej dk rdd �Zndd�ZdZ d Zdee d dfd�Zdee d dfd�Z G d� dej � � Ze G d� d� � � � ZdS )� N)� TracebackType)�Optional�Type)� � )�final)r � �task�asyncio.Task[object]�returnc �. � | � � � d S �N)�uncancel�r s �v/builddir/build/BUILD/imunify360-venv-2.6.0/opt/imunify360/venv/lib/python3.11/site-packages/async_timeout/__init__.py�_uncancel_taskr s � �� � ������ c � � d S r � r s r r r s � ��r z4.0.3)�timeout� timeout_at�Timeout�delayr c � � t j � � }| �|� � � | z }nd}t ||� � S )ar timeout context manager. Useful in cases when you want to apply timeout logic around block of code or in cases when asyncio.wait_for is not suitable. For example: >>> async with timeout(0.001): ... async with aiohttp.get('https://github.com') as r: ... await r.text() delay - value in seconds or None to disable timeout logic N)�asyncio�get_running_loop�timer )r �loop�deadlines r r r sA � � �#�%�%�D����9�9�;�;��&������8�T�"�"�"r r c �H � t j � � }t | |� � S )a� Schedule the timeout at absolute time. deadline argument points on the time in the same clock system as loop.time(). Please note: it is not POSIX time but a time with undefined starting base, e.g. the time of the system power on. >>> async with timeout_at(loop.time() + 10): ... async with aiohttp.get('https://github.com') as r: ... await r.text() )r r r )r r s r r r 5 s"