]L i`ddlmZddlmZmZddlmZddlmZedZ GddeZ y ) ) annotations)ABCMetaabstractmethod) TracebackType)TypeVarTcFeZdZdZdZddZ ddZed dZy) AsyncResourcez Abstract base class for all closeable asynchronous resources. Works as an asynchronous context manager which returns the instance itself on enter, and calls :meth:`aclose` on exit. cK|SwNr selfs Z/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/anyio/abc/_resources.py __aenter__zAsyncResource.__aenter__s  sc@K|jd{y7wr )aclose)rexc_typeexc_valexc_tbs r __aexit__zAsyncResource.__aexit__s kkms c Kyw)zClose the resource.Nr rs rrzAsyncResource.aclosessN)rrreturnr)rztype[BaseException] | NonerzBaseException | NonerzTracebackType | NonerNone)rr) __name__ __module__ __qualname____doc__ __slots__rrrrr rr r sRI,&%   ""r r ) metaclassN) __future__rabcrrtypesrtypingrrr r r rr&s&"' CL"g"r