MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,163 in github.com/agronholm/anyio

Functionmain
()
tests/test_taskgroups.py:1511
Methodmain
()
tests/test_eventloop.py:94
Methodmain
()
tests/test_eventloop.py:145
Methodmain
()
tests/test_lowlevel.py:99
Methodmain
()
tests/test_from_thread.py:195
Methodmain
()
tests/test_taskgroups.py:2196
Methodmax_value
The maximum value of the semaphore.
src/anyio/_core/_synchronization.py:455
Methodmax_value
(self)
src/anyio/_core/_synchronization.py:518
Methodmax_value
(self)
src/anyio/_backends/_asyncio.py:2037
Methodmax_value
(self)
src/anyio/_backends/_trio.py:825
Methodmiddle_task
()
tests/test_taskgroups.py:1678
Methodmultiply
(x: int, y: int)
tests/test_itertools.py:106
Methodmultiply
(a: int, b: int)
tests/test_itertools.py:858
Methodname
(self)
src/anyio/_core/_fileio.py:451
Methodname
The name of the task.
src/anyio/_core/_tasks.py:333
Functionnested
()
tests/test_taskgroups.py:1506
Functionnever_cancel_task
()
tests/test_taskgroups.py:1445
Functionnon_main
(*, task_status: TaskStatus[str | None])
tests/test_debugging.py:65
Functionnoop
()
tests/test_taskgroups.py:1401
Methodnoop
()
tests/test_from_thread.py:507
Methodnotifier
()
tests/test_synchronization.py:353
Methodnotify_closing
(cls, obj: FileDescriptorLike)
src/anyio/abc/_eventloop.py:340
Methodnotify_closing
(cls, obj: FileDescriptorLike)
src/anyio/_backends/_asyncio.py:3002
Methodopen_process
( cls, command: StrOrBytesPath | Sequence[StrOrBytesPath], *, stdin: int | IO[
src/anyio/abc/_eventloop.py:231
Methodopen_process
( cls, command: StrOrBytesPath | Sequence[StrOrBytesPath], *, stdin: int | IO[
src/anyio/_backends/_asyncio.py:2718
Methodopen_signal_receiver
( cls, *signals: Signals )
src/anyio/abc/_eventloop.py:387
Methodopen_signal_receiver
( cls, *signals: Signals )
src/anyio/_backends/_asyncio.py:3102
Methodother_task
()
tests/test_synchronization.py:81
Methodother_task
()
tests/test_synchronization.py:548
Methodouter
()
tests/test_itertools.py:220
Methodouter
()
tests/test_itertools.py:862
Functionouter_task
()
tests/test_taskgroups.py:917
Functionparent
(tg: TaskGroup)
tests/test_taskgroups.py:1064
Methodparent
(self)
src/anyio/_core/_fileio.py:447
Methodparents
(self)
src/anyio/_core/_fileio.py:443
Methodparity
(value: int)
tests/test_itertools.py:543
Methodparts
(self)
src/anyio/_core/_fileio.py:427
Methodpause_writing
(self)
src/anyio/_backends/_asyncio.py:1273
Methodpause_writing
(self)
src/anyio/_backends/_asyncio.py:1307
Methodpeer_sock
(self, peer_socket_path: Path)
tests/test_sockets.py:2295
Methodpeer_socket_path
(self)
tests/test_sockets.py:2117
Methodpeer_socket_path
(self)
tests/test_sockets.py:2282
Methodpeer_socket_path_or_str
( self, request: SubRequest, peer_socket_path: Path )
tests/test_sockets.py:2289
Methodpid
The process ID of the process.
src/anyio/abc/_subprocesses.py:55
Methodpid
(self)
src/anyio/_backends/_asyncio.py:1171
Methodpid
(self)
src/anyio/_backends/_trio.py:397
Methodpopulated_tmpdir
( self, tmp_path: pathlib.Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:92
Methodpower
(a: int, b: int)
tests/test_itertools.py:850
Methodpredicate
(value: int)
tests/test_itertools.py:921
Methodprocess_exited
(self)
src/anyio/_backends/_asyncio.py:2443
Methodprovider
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_to_thread.py:296
Functionpytest_addoption
(parser: pytest.Parser)
src/anyio/pytest_plugin.py:75
Functionpytest_collection_finish
(session: pytest.Session)
src/anyio/pytest_plugin.py:181
Functionpytest_configure
(config: pytest.Config)
src/anyio/pytest_plugin.py:83
Functionpytest_fixture_setup
(fixturedef: Any, request: Any)
src/anyio/pytest_plugin.py:103
Functionpytest_pycollect_makeitem
( collector: pytest.Module | pytest.Class, name: str, obj: object )
src/anyio/pytest_plugin.py:164
Functionpytest_pyfunc_call
(pyfuncitem: Any)
src/anyio/pytest_plugin.py:240
Methodraise_baseexception
()
tests/test_from_thread.py:754
Methodraise_oserror
(addr: tuple[str, int])
tests/test_sockets.py:1147
Functionraise_stopiteration
()
tests/test_to_thread.py:287
Methodread1
(self: AsyncFile[bytes], size: int = -1)
src/anyio/_core/_fileio.py:122
Methodread1
(self: SpooledTemporaryFile[bytes], size: int = -1)
src/anyio/_core/_tempfile.py:344
Functionreader
()
tests/test_sockets.py:2634
Methodreadinto1
(self: SpooledTemporaryFile[bytes], b: WriteableBuffer)
src/anyio/_core/_tempfile.py:372
Methodreadline
(self)
src/anyio/_core/_tempfile.py:351
Methodreadlines
(self)
src/anyio/_core/_fileio.py:128
Methodreadlines
(self)
src/anyio/_core/_tempfile.py:358
Functionreceive
()
tests/streams/test_memory.py:361
Methodreceive
(self)
src/anyio/streams/stapled.py:82
Methodreceive
(self)
src/anyio/streams/memory.py:115
Methodreceive
(self, max_bytes: int = 65536)
src/anyio/streams/file.py:81
Methodreceive
(self, max_bytes: int = 65536)
src/anyio/_backends/_asyncio.py:1074
Methodreceive
(self, max_bytes: int = 65536)
src/anyio/_backends/_asyncio.py:1326
Methodreceive
(self, max_bytes: int = 65536)
src/anyio/_backends/_asyncio.py:1453
Methodreceive
(self)
src/anyio/_backends/_asyncio.py:1685
Methodreceive
(self)
src/anyio/_backends/_asyncio.py:1735
Methodreceive
(self)
src/anyio/_backends/_asyncio.py:1767
Methodreceive
(self)
src/anyio/_backends/_asyncio.py:1803
Methodreceive
(self, max_bytes: int | None = None)
src/anyio/_backends/_trio.py:324
Methodreceive
(self, max_bytes: int = 65536)
src/anyio/_backends/_trio.py:482
Methodreceive
(self)
src/anyio/_backends/_trio.py:616
Methodreceive
(self)
src/anyio/_backends/_trio.py:638
Methodreceive
(self)
src/anyio/_backends/_trio.py:659
Methodreceive
(self)
src/anyio/_backends/_trio.py:683
Methodreceive
(self)
tests/streams/test_stapled.py:118
Methodreceive_fds
(self, msglen: int, maxfds: int)
src/anyio/_backends/_asyncio.py:1494
Methodreceive_fds
(self, msglen: int, maxfds: int)
src/anyio/_backends/_trio.py:513
Methodreceive_stream
(self)
tests/streams/test_stapled.py:62
Methodreceive_stream
(self)
tests/streams/test_stapled.py:147
Functionreceiver
()
tests/streams/test_memory.py:46
Methodrelease
Release the lock.
src/anyio/_core/_synchronization.py:249
Methodrelease
(self)
src/anyio/_core/_synchronization.py:507
Methodrelease
Release the token held by the current task. :raises RuntimeError: if the current task has not borrowed a token from this
src/anyio/_core/_synchronization.py:616
Methodrelease
(self)
src/anyio/_core/_synchronization.py:722
Methodrelease_on_behalf_of
(self, borrower: object)
src/anyio/_core/_synchronization.py:725
Methodresume_writing
(self)
src/anyio/_backends/_asyncio.py:1276
Methodresume_writing
(self)
src/anyio/_backends/_asyncio.py:1310
Methodreturn_value
The return value of the task. :raises TaskNotFinished: if the task has not finished yet :raises TaskCancelled: if the task w
src/anyio/_core/_tasks.py:359
Methodreturncode
The return code of the process. If the process has not yet terminated, this will be ``None``.
src/anyio/abc/_subprocesses.py:60
Methodreturncode
(self)
src/anyio/_backends/_asyncio.py:1175
← previousnext →1,001–1,100 of 2,163, ranked by callers