MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,553 in github.com/agronholm/anyio

Method__init__
(self, file: IO[bytes])
src/anyio/streams/file.py:38
Method__init__
( self, *, debug: bool | None = None, loop_factory: Callable[[
src/anyio/_backends/_asyncio.py:132
Method__init__
(self, deadline: float = math.inf, shield: bool = False)
src/anyio/_backends/_asyncio.py:405
Method__init__
(self, parent_id: int | None, cancel_scope: CancelScope | None)
src/anyio/_backends/_asyncio.py:758
Method__init__
( self, future: asyncio.Future, parent_id: int, target_scope: CancelScope,
src/anyio/_backends/_asyncio.py:772
Method__init__
(self)
src/anyio/_backends/_asyncio.py:808
Method__init__
( self, root_task: asyncio.Task, workers: set[WorkerThread], idle_workers: deq
src/anyio/_backends/_asyncio.py:1071
Method__init__
(self, transport: asyncio.Transport, protocol: StreamProtocol)
src/anyio/_backends/_asyncio.py:1408
Method__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_asyncio.py:1508
Method__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_asyncio.py:1674
Method__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_asyncio.py:1733
Method__init__
( self, transport: asyncio.DatagramTransport, protocol: DatagramProtocol )
src/anyio/_backends/_asyncio.py:1782
Method__init__
( self, transport: asyncio.DatagramTransport, protocol: DatagramProtocol )
src/anyio/_backends/_asyncio.py:1845
Method__init__
(self)
src/anyio/_backends/_asyncio.py:1996
Method__init__
( self, initial_value: int, *, max_value: int | None = None, fast_acqu
src/anyio/_backends/_asyncio.py:2111
Method__init__
(self, total_tokens: float)
src/anyio/_backends/_asyncio.py:2193
Method__init__
(self, signals: tuple[Signals, ...])
src/anyio/_backends/_asyncio.py:2317
Method__init__
(self, task: asyncio.Task)
src/anyio/_backends/_asyncio.py:2363
Method__init__
( self, *, debug: bool | None = None, use_uvloop: bool = False, loop_f
src/anyio/_backends/_asyncio.py:2396
Method__init__
(self)
src/anyio/_backends/_asyncio.py:2578
Method__init__
(self, original: trio.CancelScope | None = None, **kwargs: Any)
src/anyio/_backends/_trio.py:155
Method__init__
(self)
src/anyio/_backends/_trio.py:220
Method__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:451
Method__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:482
Method__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_trio.py:581
Method__init__
(self, raw_socket: socket.socket)
src/anyio/_backends/_trio.py:597
Method__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:612
Method__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:634
Method__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:655
Method__init__
(self, trio_socket: TrioSocketType)
src/anyio/_backends/_trio.py:679
Method__init__
(self)
src/anyio/_backends/_trio.py:710
Method__init__
( self, initial_value: int, *, max_value: int | None = None, fast_acqu
src/anyio/_backends/_trio.py:797
Method__init__
( self, total_tokens: float | None = None, *, original: trio.CapacityLimiter |
src/anyio/_backends/_trio.py:852
Method__init__
(self, signals: tuple[Signals, ...])
src/anyio/_backends/_trio.py:936
Method__init__
(self, **options: Any)
src/anyio/_backends/_trio.py:966
Method__init__
(self, task: trio.lowlevel.Task)
src/anyio/_backends/_trio.py:1061
Method__init__
(self, ignore_error: bool)
tests/test_from_thread.py:388
Method__init__
(self, *args: P.args, **kwargs: P.kwargs)
tests/conftest.py:202
Method__init__
(self, handle_exc: bool = False)
tests/test_contextmanagers.py:42
Method__init__
(self, handle_exc: bool = False)
tests/test_contextmanagers.py:126
Method__init__
(self, handle_exc: bool = False)
tests/test_contextmanagers.py:230
Method__init__
(self, iterable: Iterable[T])
tests/test_itertools.py:51
Method__init__
( self, connectable: ( ByteStreamConnectable | tuple[str, int] | str | bytes | Pat
docs/snippets/networking/connectables.py:11
Method__init__
(self, async_obj: Any)
docs/snippets/threads/blocking_portal_provider.py:7
Method__init__
(self)
docs/snippets/synchronization/resource_guard.py:5
Method__init_subclass__
(cls)
src/anyio/_core/_typedattr.py:29
Method__le__
(self, other: pathlib.PurePath | Path)
src/anyio/_core/_fileio.py:405
Method__lt__
(self, other: pathlib.PurePath | Path)
src/anyio/_core/_fileio.py:401
Method__new__
(cls)
src/anyio/_core/_synchronization.py:91
Method__new__
(cls)
src/anyio/_core/_synchronization.py:123
Method__new__
(cls, *, fast_acquire: bool = False)
src/anyio/_core/_synchronization.py:214
Method__new__
( cls, initial_value: int, *, max_value: int | None = None, fast_acqui
src/anyio/_core/_synchronization.py:391
Method__new__
( cls, initial_value: int, *, max_value: int | None = None, fast_acqui
src/anyio/_core/_synchronization.py:477
Method__new__
(cls, total_tokens: float)
src/anyio/_core/_synchronization.py:539
Method__new__
(cls, total_tokens: float)
src/anyio/_core/_synchronization.py:657
Method__new__
( cls, *, deadline: float = math.inf, shield: bool = False )
src/anyio/_core/_tasks.py:55
Method__new__
( # type: ignore[misc] cls, max_buffer_size: float = 0, item_type: object = None )
src/anyio/_core/_streams.py:36
Method__new__
(cls, *, deadline: float = math.inf, shield: bool = False)
src/anyio/_backends/_asyncio.py:402
Method__new__
(cls)
src/anyio/_backends/_asyncio.py:1993
Method__new__
( cls, initial_value: int, *, max_value: int | None = None, fast_acqui
src/anyio/_backends/_asyncio.py:2102
Method__new__
(cls, total_tokens: float)
src/anyio/_backends/_asyncio.py:2190
Method__new__
( cls, original: trio.CancelScope | None = None, **kwargs: object )
src/anyio/_backends/_trio.py:150
Method__new__
(cls)
src/anyio/_backends/_trio.py:707
Method__new__
( cls, initial_value: int, *, max_value: int | None = None, fast_acqui
src/anyio/_backends/_trio.py:788
Method__new__
( cls, total_tokens: float | None = None, *, original: trio.CapacityLimiter |
src/anyio/_backends/_trio.py:844
Method__post_init__
(self)
src/anyio/_core/_sockets.py:943
Method__post_init__
(self)
src/anyio/streams/stapled.py:130
Method__post_init__
(self, encoding: str, errors: str)
src/anyio/streams/text.py:57
Method__post_init__
(self, encoding: str)
src/anyio/streams/text.py:108
Method__post_init__
(self, encoding: str, errors: str)
src/anyio/streams/text.py:149
Method__post_init__
(self)
src/anyio/streams/memory.py:85
Method__post_init__
(self)
src/anyio/streams/memory.py:221
Method__post_init__
(self, data: bytes)
tests/streams/test_stapled.py:26
Method__post_init__
(self, data: Iterable[T_Item])
tests/streams/test_stapled.py:115
Method__repr__
(self)
src/anyio/lowlevel.py:227
Method__repr__
(self)
src/anyio/_core/_futures.py:187
Method__repr__
(self)
src/anyio/_core/_fileio.py:388
Method__repr__
(self)
src/anyio/_core/_tasks.py:460
Method__repr__
(self)
src/anyio/_core/_testing.py:45
Method__repr__
(self)
src/anyio/streams/memory.py:48
Method__rtruediv__
(self, other: str | PathLike[str])
src/anyio/_core/_fileio.py:420
Method__str__
(self)
src/anyio/_core/_fileio.py:385
Method__str__
(self)
src/anyio/_core/_exceptions.py:44
Method__truediv__
(self, other: str | PathLike[str])
src/anyio/_core/_fileio.py:417
Method__vfspath__
(self)
src/anyio/_core/_fileio.py:382
Method_check_closed
(self)
src/anyio/_backends/_trio.py:455
Function_check_main_importable
Helper that runs in the worker process to check main was imported correctly
tests/test_to_process.py:157
Method_current_vars
(self)
src/anyio/lowlevel.py:152
Method_deliver
(self, signum: Signals)
src/anyio/_backends/_asyncio.py:2324
Function_do_shutdown
(future: asyncio.futures.Future)
src/anyio/_backends/_asyncio.py:283
Method_effectively_cancelled
(self)
src/anyio/_backends/_asyncio.py:572
Method_event
(self)
src/anyio/_core/_synchronization.py:131
Method_exception_handler
( self, loop: asyncio.AbstractEventLoop, context: dict[str, Any] )
src/anyio/_backends/_asyncio.py:2440
Function_flood_stderr
Helper that writes enough data to stderr to fill an undrained pipe buffer.
tests/test_to_process.py:61
Function_forcibly_shutdown_process_pool_on_exit
Forcibly shuts down worker processes belonging to this event loop.
src/anyio/_backends/_asyncio.py:1286
Function_interp_call
( func: Callable[..., Any], args: tuple[Any, ...] )
src/anyio/to_interpreter.py:28
Method_limiter
(self)
src/anyio/_core/_synchronization.py:665
Method_lock
(self)
src/anyio/_core/_synchronization.py:222
Method_main_task_finished
(self, outcome: object)
src/anyio/_backends/_trio.py:1002
Method_on_sigint
(self, signum, frame, main_task: asyncio.Task)
src/anyio/_backends/_asyncio.py:249
← previousnext →701–800 of 2,553, ranked by callers