MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,163 in github.com/agronholm/anyio

↓ 1 callersMethoditerdir
(self)
src/anyio/_core/_fileio.py:698
↓ 1 callersMethodlchmod
(self, mode: int)
src/anyio/_core/_fileio.py:712
↓ 1 callersMethodlocked
(self)
src/anyio/_backends/_asyncio.py:1930
↓ 1 callersFunctionmiddle_task
()
tests/test_taskgroups.py:337
↓ 1 callersFunctionmkdtemp
( suffix: str | None = None, prefix: str | None = None, dir: str | None = None, )
src/anyio/_core/_tempfile.py:558
↓ 1 callersFunctionmkstemp
( suffix: str | None = None, prefix: str | None = None, dir: str | None = None, text: bool = F
src/anyio/_core/_tempfile.py:518
↓ 1 callersMethodmove
(self, target: str | os.PathLike[str])
src/anyio/_core/_fileio.py:541
↓ 1 callersMethodmove_into
( self, target_dir: str | os.PathLike[str], )
src/anyio/_core/_fileio.py:551
↓ 1 callersFunctionnative_coro_part
()
tests/test_debugging.py:112
↓ 1 callersFunctionnative_coro_part
()
tests/test_taskgroups.py:1323
↓ 1 callersFunctionnormalize_index
(value: object, message: str)
src/anyio/itertools.py:410
↓ 1 callersMethodnotify_closing
(cls, obj: FileDescriptorLike)
src/anyio/_backends/_trio.py:1376
↓ 1 callersMethodopen_process
( cls, command: StrOrBytesPath | Sequence[StrOrBytesPath], *, stdin: int | IO[
src/anyio/_backends/_trio.py:1203
↓ 1 callersFunctionowner
()
tests/test_taskgroups.py:381
↓ 1 callersMethodowner
(self)
src/anyio/_core/_fileio.py:766
↓ 1 callersFunctionprocess_worker
()
src/anyio/to_process.py:207
↓ 1 callersMethodread
(self, size: int = -1)
src/anyio/_core/_tempfile.py:337
↓ 1 callersMethodreadinto
(self: AsyncFile[bytes], b: WriteableBuffer)
src/anyio/_core/_fileio.py:131
↓ 1 callersMethodreadinto
(self: SpooledTemporaryFile[bytes], b: WriteableBuffer)
src/anyio/_core/_tempfile.py:365
↓ 1 callersMethodreadinto1
(self: AsyncFile[bytes], b: WriteableBuffer)
src/anyio/_core/_fileio.py:134
↓ 1 callersMethodreadline
(self)
src/anyio/_core/_fileio.py:125
↓ 1 callersMethodreadlink
(self)
src/anyio/_core/_fileio.py:797
↓ 1 callersMethodreceive
Receive the next item. :raises ~anyio.ClosedResourceError: if the receive stream has been explicitly closed :rai
src/anyio/abc/_streams.py:40
↓ 1 callersMethodreceive
Receive at most ``max_bytes`` bytes from the peer. .. note:: Implementers of this interface should not return an empty :
src/anyio/abc/_streams.py:136
↓ 1 callersMethodreceive
(self, max_bytes: int = 65536)
src/anyio/streams/stapled.py:43
↓ 1 callersMethodreceive
(self, max_bytes: int = 65536)
src/anyio/streams/tls.py:250
↓ 1 callersMethodrelease
Increment the semaphore value.
src/anyio/_core/_synchronization.py:445
↓ 1 callersMethodrelease
(self)
src/anyio/_backends/_asyncio.py:1933
↓ 1 callersMethodrelease
(self)
src/anyio/_backends/_asyncio.py:2018
↓ 1 callersMethodrelease
(self)
src/anyio/_backends/_trio.py:908
↓ 1 callersMethodrelease_on_behalf_of
Release the token held by the given borrower. :raises RuntimeError: if the borrower has not borrowed a token from this l
src/anyio/_core/_synchronization.py:626
↓ 1 callersMethodrelease_on_behalf_of
(self, borrower: object)
src/anyio/_backends/_asyncio.py:2147
↓ 1 callersMethodrelease_on_behalf_of
(self, borrower: object)
src/anyio/_backends/_trio.py:911
↓ 1 callersMethodrename
(self, target: str | pathlib.PurePath | Path)
src/anyio/_core/_fileio.py:803
↓ 1 callersMethodreplace
(self, target: str | pathlib.PurePath | Path)
src/anyio/_core/_fileio.py:810
↓ 1 callersFunctionreset_current_async_library
(token: Token | None)
src/anyio/_core/_eventloop.py:238
↓ 1 callersMethodresolve
(self, strict: bool = False)
src/anyio/_core/_fileio.py:817
↓ 1 callersFunctionreturn_non_coro_awaitable
( func: Callable[P, Coroutine[Any, Any, T]], )
tests/conftest.py:198
↓ 1 callersMethodrmdir
(self)
src/anyio/_core/_fileio.py:857
↓ 1 callersMethodrollover
(self)
src/anyio/_core/_tempfile.py:320
↓ 1 callersMethodrun
(self)
src/anyio/_core/_asyncio_selector_thread.py:130
↓ 1 callersMethodrun_async_from_thread
( cls, func: Callable[[Unpack[PosArgsT]], Coroutine[Any, Any, T_co]], args: tuple[Unpa
src/anyio/abc/_eventloop.py:211
↓ 1 callersMethodrun_asyncgen_fixture
Run an async generator fixture. :param fixture_func: the fixture function :param kwargs: keyword arguments to call the fixtu
src/anyio/abc/_testing.py:29
↓ 1 callersMethodrun_fixture
Run an async fixture. :param fixture_func: the fixture function :param kwargs: keyword arguments to call the fixture functio
src/anyio/abc/_testing.py:43
↓ 1 callersFunctionrun_in_thread
()
tests/test_to_thread.py:167
↓ 1 callersFunctionrun_sync
Call the given function with the given arguments in a worker thread. If the ``abandon_on_cancel`` option is enabled and the task waiting for
src/anyio/to_thread.py:27
↓ 1 callersMethodrun_sync_from_thread
( cls, func: Callable[[Unpack[PosArgsT]], T_Retval], args: tuple[Unpack[PosArgsT]],
src/anyio/abc/_eventloop.py:221
↓ 1 callersMethodrun_sync_in_worker_thread
( cls, func: Callable[[Unpack[PosArgsT]], T_Retval], args: tuple[Unpack[PosArgsT]],
src/anyio/abc/_eventloop.py:195
↓ 1 callersMethodsamefile
(self, other_path: str | PathLike[str])
src/anyio/_core/_fileio.py:860
↓ 1 callersMethodseek
(self, offset: int, whence: int | None = os.SEEK_SET)
src/anyio/_core/_tempfile.py:379
↓ 1 callersMethodsend
(self, item: bytes)
src/anyio/streams/stapled.py:49
↓ 1 callersMethodsend
(self, item: UNIXDatagramPacketType)
src/anyio/_backends/_trio.py:667
↓ 1 callersMethodsend_eof
(self)
src/anyio/streams/buffered.py:172
↓ 1 callersFunctionsend_raw_command
(pickled_cmd: bytes)
src/anyio/to_process.py:70
↓ 1 callersMethodserve
()
tests/test_sockets.py:298
↓ 1 callersMethodsetup_process_pool_exit_at_shutdown
(cls, workers: set[Process])
src/anyio/abc/_eventloop.py:244
↓ 1 callersFunctionsetup_raw_socket
( fam: AddressFamily, bind_addr: tuple[str, int] | tuple[str, int, int, int], *,
src/anyio/_core/_sockets.py:329
↓ 1 callersFunctionsleep_sync
()
tests/test_to_thread.py:219
↓ 1 callersMethodsleep_until_stopped
Sleep until :meth:`stop` is called.
src/anyio/from_thread.py:220
↓ 1 callersMethodstart
(self)
src/anyio/_core/_asyncio_selector_thread.py:44
↓ 1 callersFunctionstart_another
()
tests/test_taskgroups.py:265
↓ 1 callersMethodstarted
(self, value: T_contra | None = None)
src/anyio/_backends/_trio.py:205
↓ 1 callersMethodstatic_method
(x: int)
tests/test_functools.py:308
↓ 1 callersMethodstatistics
Return statistics about the current state of this stream. .. versionadded:: 3.0
src/anyio/streams/memory.py:300
↓ 1 callersMethodstop
(self, f: asyncio.Task | None = None)
src/anyio/_backends/_asyncio.py:1049
↓ 1 callersMethodtask_done
(_task: asyncio.Task)
src/anyio/_backends/_asyncio.py:836
↓ 1 callersFunctiontaskfunc1
()
tests/test_to_thread.py:260
↓ 1 callersFunctiontaskfunc2
()
tests/test_to_thread.py:265
↓ 1 callersMethodtell
(self)
src/anyio/_core/_fileio.py:167
↓ 1 callersMethodtell
(self)
src/anyio/_core/_tempfile.py:386
↓ 1 callersFunctiontestfunc
()
tests/test_taskgroups.py:87
↓ 1 callersMethodwait
(self)
src/anyio/_backends/_asyncio.py:1156
↓ 1 callersMethodwait
(self)
src/anyio/_backends/_trio.py:384
↓ 1 callersMethodwait_all_tasks_blocked
(cls)
src/anyio/_backends/_trio.py:1458
↓ 1 callersFunctionwait_socket_readable
.. deprecated:: 4.7.0 Use :func:`wait_readable` instead. Wait until the given socket has data to be read. .. warning:: Only use
src/anyio/_core/_sockets.py:685
↓ 1 callersFunctionwait_socket_writable
.. deprecated:: 4.7.0 Use :func:`wait_writable` instead. Wait until the given socket can be written to. This does **NOT** work o
src/anyio/_core/_sockets.py:708
↓ 1 callersMethodwalk
( self, top_down: bool = True, on_error: Callable[[OSError], object] | Non
src/anyio/_core/_fileio.py:903
↓ 1 callersMethodwith_stem
(self, stem: str)
src/anyio/_core/_fileio.py:927
↓ 1 callersMethodwith_suffix
(self, suffix: str)
src/anyio/_core/_fileio.py:932
↓ 1 callersMethodwrap_connected_udp_socket
(cls, sock: socket)
src/anyio/abc/_eventloop.py:365
↓ 1 callersMethodwrap_connected_unix_datagram_socket
( cls, sock: socket )
src/anyio/abc/_eventloop.py:375
↓ 1 callersFunctionwrap_file
Wrap an existing file as an asynchronous file. :param file: an existing file-like object :param limiter: an optional capacity limiter to
src/anyio/_core/_fileio.py:244
↓ 1 callersMethodwrap_listener_socket
(cls, sock: socket)
src/anyio/abc/_eventloop.py:345
↓ 1 callersMethodwrap_stream_socket
(cls, sock: socket)
src/anyio/abc/_eventloop.py:350
↓ 1 callersMethodwrap_udp_socket
(cls, sock: socket)
src/anyio/abc/_eventloop.py:360
↓ 1 callersMethodwrap_unix_datagram_socket
(cls, sock: socket)
src/anyio/abc/_eventloop.py:370
↓ 1 callersMethodwrap_unix_stream_socket
(cls, sock: socket)
src/anyio/abc/_eventloop.py:355
↓ 1 callersFunctionwrapper
(*args: P.args, **kwargs: P.kwargs)
src/anyio/_backends/_trio.py:111
↓ 1 callersMethodwrite
(self: SpooledTemporaryFile[bytes], b: ReadableBuffer)
src/anyio/_core/_tempfile.py:401
↓ 1 callersMethodwritelines
( self: AsyncFile[bytes], lines: Iterable[ReadableBuffer] )
src/anyio/_core/_fileio.py:147
Method__aenter__
(self: T)
src/anyio/abc/_resources.py:20
Method__aenter__
Enter the task group context and allow starting new tasks.
src/anyio/abc/_tasks.py:199
Method__aenter__
(self)
src/anyio/_core/_tempfile.py:95
Method__aenter__
(self)
src/anyio/_core/_tempfile.py:204
Method__aenter__
(self)
src/anyio/_core/_synchronization.py:224
Method__aenter__
(self)
src/anyio/_core/_synchronization.py:278
Method__aenter__
(self)
src/anyio/_core/_synchronization.py:420
Method__aenter__
(self)
src/anyio/_core/_synchronization.py:537
Method__aenter__
(self)
src/anyio/_core/_synchronization.py:665
Method__aenter__
(self: _SupportsAsyncCtxMgr[_T_co, bool | None])
src/anyio/_core/_contextmanagers.py:127
← previousnext →401–500 of 2,163, ranked by callers