Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agronholm/anyio
/ functions
Functions
2,163 in github.com/agronholm/anyio
⨍
Functions
2,163
◇
Types & classes
270
↳
Endpoints
11
Method
socket_path
(self, request: SubRequest)
tests/test_sockets.py:1178
Method
socket_path
(self, request: SubRequest)
tests/test_sockets.py:1566
Method
socket_path
(self, request: SubRequest)
tests/test_sockets.py:2103
Method
socket_path
(self, request: SubRequest)
tests/test_sockets.py:2261
Method
socket_path_or_str
(self, request: SubRequest, socket_path: Path)
tests/test_sockets.py:1188
Method
socket_path_or_str
(self, request: SubRequest, socket_path: Path)
tests/test_sockets.py:1576
Method
socket_path_or_str
(self, request: SubRequest, socket_path: Path)
tests/test_sockets.py:2113
Method
socket_path_or_str
(self, request: SubRequest, socket_path: Path)
tests/test_sockets.py:2271
Method
stapled
( self, send_stream: DummyByteSendStream, receive_stream: DummyByteReceiveStream )
tests/streams/test_stapled.py:66
Method
stapled
( self, receive_stream: DummyObjectReceiveStream[str], send_stream: DummyObjectSendStr
tests/streams/test_stapled.py:155
Method
start
( self, func: Callable[[Unpack[PosArgsT]], Coroutine[Any, Any, T_co]], *args: Unpack[P
src/anyio/_backends/_trio.py:280
Method
start_value
The value passed to :meth:`task_status.started() <.abc.TaskStatus.started>`, :raises RuntimeError: if the task was not started with
src/anyio/_core/_tasks.py:381
Method
started
(self, value: object = None)
src/anyio/from_thread.py:181
Method
started
(self, value: object = None)
src/anyio/_core/_tasks.py:38
Method
started
(self, value: T_contra | None = None)
src/anyio/_backends/_asyncio.py:732
Function
starter_task
()
tests/test_taskgroups.py:1556
Method
statistics
Return statistics about the current state of this event.
src/anyio/_core/_synchronization.py:109
Method
statistics
(self)
src/anyio/_core/_synchronization.py:148
Method
statistics
Return statistics about the current state of this lock. .. versionadded:: 3.0
src/anyio/_core/_synchronization.py:257
Method
statistics
Return statistics about the current state of this semaphore. .. versionadded:: 3.0
src/anyio/_core/_synchronization.py:459
Method
statistics
(self)
src/anyio/_core/_synchronization.py:521
Method
statistics
Return statistics about the current state of this limiter. .. versionadded:: 3.0
src/anyio/_core/_synchronization.py:636
Method
statistics
(self)
src/anyio/_core/_synchronization.py:728
Method
statistics
(self)
src/anyio/streams/memory.py:68
Method
statistics
Return statistics about the current state of this stream. .. versionadded:: 3.0
src/anyio/streams/memory.py:169
Method
statistics
(self)
src/anyio/_backends/_asyncio.py:1868
Method
statistics
(self)
src/anyio/_backends/_asyncio.py:1951
Method
statistics
(self)
src/anyio/_backends/_asyncio.py:2040
Method
statistics
(self)
src/anyio/_backends/_asyncio.py:2157
Method
status
The current status of the task. Every task starts in the :attr:`~TaskHandle.Status.PENDING` state. If a task is cancelled wh
src/anyio/_core/_tasks.py:307
Method
stderr
The stream for the standard error output of the process.
src/anyio/abc/_subprocesses.py:78
Method
stderr
(self)
src/anyio/_backends/_asyncio.py:1187
Method
stderr
(self)
src/anyio/_backends/_trio.py:413
Method
stdin
The stream for the standard input of the process.
src/anyio/abc/_subprocesses.py:68
Method
stdin
(self)
src/anyio/_backends/_asyncio.py:1179
Method
stdin
(self)
src/anyio/_backends/_trio.py:405
Method
stdout
The stream for the standard output of the process.
src/anyio/abc/_subprocesses.py:73
Method
stdout
(self)
src/anyio/_backends/_asyncio.py:1183
Method
stdout
(self)
src/anyio/_backends/_trio.py:409
Method
stem
(self)
src/anyio/_core/_fileio.py:463
Function
subgroup
()
tests/test_taskgroups.py:597
Function
subtask
()
tests/test_taskgroups.py:1552
Method
suffix
(self)
src/anyio/_core/_fileio.py:455
Method
suffixes
(self)
src/anyio/_core/_fileio.py:459
Function
suppress_slow_callbacks
()
tests/conftest.py:95
Function
sync_add
(a: int, b: int)
tests/test_from_thread.py:54
Function
sync_coro
()
tests/test_taskgroups.py:1986
Function
sync_function
()
tests/test_from_thread.py:75
Method
sync_thread
()
tests/test_from_thread.py:787
Function
task
(task_status: TaskStatus)
tests/test_taskgroups.py:979
Method
task
()
tests/test_synchronization.py:34
Method
task
()
tests/test_synchronization.py:284
Method
task
()
tests/test_synchronization.py:399
Method
task
(*, task_status: TaskStatus)
tests/test_synchronization.py:571
Method
task_done
(future: Future[T_Retval])
src/anyio/from_thread.py:408
Function
task_fn
(*, task_status: TaskStatus[str] = TASK_STATUS_IGNORED)
tests/test_taskgroups.py:401
Function
task_func
()
tests/test_taskgroups.py:99
Function
task_worker
()
tests/test_to_thread.py:71
Function
task_wrap
()
tests/test_taskgroups.py:1417
Method
task_wrapper
()
src/anyio/_backends/_asyncio.py:2662
Method
taskfunc
(index: int)
tests/test_lowlevel.py:95
Method
taskfunc
()
tests/test_from_thread.py:497
Method
taskfunc
()
tests/test_taskgroups.py:1700
Method
taskfunc
()
tests/test_taskgroups.py:2121
Method
taskfunc
()
tests/test_synchronization.py:748
Method
taskfunc1
()
tests/test_synchronization.py:247
Method
tell
Return the current stream position. .. note:: Not all file descriptors are seekable. :return: the current absolute position
src/anyio/streams/file.py:113
Method
terminate
Terminates the process, gracefully if possible. On Windows, this calls ``TerminateProcess()``. On POSIX systems, this sends
src/anyio/abc/_subprocesses.py:22
Method
terminate
(self)
src/anyio/_backends/_asyncio.py:1161
Method
test_absolute
(self, limiter: CapacityLimiter | None)
tests/test_fileio.py:241
Method
test_accept
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:831
Method
test_accept
(self, socket_path_or_str: Path | str)
tests/test_sockets.py:1599
Method
test_accept_after_close
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:860
Method
test_aclose
(self, stapled: StapledByteStream)
tests/streams/test_stapled.py:91
Method
test_aclose
(self, stapled: StapledObjectStream[str])
tests/streams/test_stapled.py:184
Method
test_aclose_waits_for_fd_release
Regression: ``UDPSocket.aclose`` must not return before the FD is released. ``AsyncResource.aclose`` is documented as "close the resource".
tests/test_sockets.py:1738
Method
test_aclose_waits_for_fd_release
Regression: ``ConnectedUDPSocket.aclose`` must not return before the FD is released. Same race as ``UDPSocket.aclose``; see that test for the
tests/test_sockets.py:1919
Method
test_acquire_cancelled
(self)
tests/test_synchronization.py:951
Method
test_acquire_nowait
(self)
tests/test_synchronization.py:91
Method
test_acquire_nowait
(self)
tests/test_synchronization.py:382
Method
test_acquire_nowait
(self)
tests/test_synchronization.py:558
Method
test_acquire_nowait
(self)
tests/test_synchronization.py:980
Method
test_acquire_nowait_wouldblock
(self)
tests/test_synchronization.py:96
Method
test_acquire_nowait_wouldblock
(self)
tests/test_synchronization.py:387
Method
test_acquire_on_behalf_of_nowait
(self)
tests/test_synchronization.py:990
Method
test_acquire_race
Test against a race condition: when a task waiting on acquire() is rescheduled but another task snatches the last available slot, the
tests/test_synchronization.py:620
Method
test_acquire_twice_async
(self, fast_acquire: bool)
tests/test_synchronization.py:106
Method
test_acquire_twice_sync
(self)
tests/test_synchronization.py:114
Method
test_aexit_with_exception
Test that when the portal exits with an exception, all tasks are cancelled.
tests/test_from_thread.py:370
Method
test_aexit_without_exception
Test that when the portal exits, it waits for all tasks to finish.
tests/test_from_thread.py:402
Function
test_all_attributes
Check that all exported functions and classes of all public modules are present in the __all__ attribute of the module.
tests/test_all_attributes.py:13
Method
test_alpn_negotiation
( self, server_context: ssl.SSLContext, client_context: ssl.SSLContext )
tests/streams/test_tls.py:229
Function
test_already_closed
()
tests/test_taskgroups.py:57
Method
test_always_checkpoint
(self)
tests/test_functools.py:272
Method
test_anchor_property
(self)
tests/test_fileio.py:211
Method
test_append_file
(self, file_path: Path)
tests/streams/test_file.py:91
Function
test_args_kwargs
Test that partial() can be used to pass keyword arguments.
tests/test_to_interpreter.py:42
Method
test_args_kwargs_cache_key
(self)
tests/test_functools.py:222
Function
test_arguments_passed_through
Regression test ensuring all arguments accepted by ``open_process()`` are passed through to the backend's ``open_process()``.
tests/test_subprocesses.py:379
Method
test_as_posix
(self)
tests/test_fileio.py:250
← previous
next →
1,201–1,300 of 2,163, ranked by callers