Files
proxy-scraper-checker/proxy_scraper_checker/null_context.py
T
monosans 082e12b764 Many changes (see full commit message)
Add ability to set MaxConnections to 0, at which this parameter will be set to the maximum available value for the OS
Add validation for Timeout and SourceTimeout options
Improve existing validators
Improve error and warning output
Misc refactoring
2023-02-19 22:18:30 +03:00

14 lines
220 B
Python

from __future__ import annotations
from typing import Any
class AsyncNullContext:
__slots__ = ()
async def __aenter__(self) -> None:
pass
async def __aexit__(self, *_: Any) -> None:
pass