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
test_send_after_close
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:2057
Method
test_send_after_close
(self, socket_path: Path)
tests/test_sockets.py:2213
Method
test_send_after_close
( self, peer_socket_path_or_str: Path | str, peer_sock: socket.socket )
tests/test_sockets.py:2415
Method
test_send_after_eof
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:948
Method
test_send_after_eof
(self, socket_path: Path)
tests/test_sockets.py:1630
Method
test_send_after_peer_closed
( self, family: AnyIPAddressFamily, request: FixtureRequest )
tests/test_sockets.py:562
Function
test_send_encoding_error
()
tests/streams/test_text.py:57
Method
test_send_eof
( self, server_sock: socket.socket, server_addr: tuple[str, int] )
tests/test_sockets.py:318
Method
test_send_eof
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1377
Method
test_send_eof
(self, stapled: StapledByteStream)
tests/streams/test_stapled.py:83
Method
test_send_eof
(self, stapled: StapledObjectStream[str])
tests/streams/test_stapled.py:175
Method
test_send_eof_not_implemented
( self, server_context: ssl.SSLContext, ca: CA, force_tlsv12: bool )
tests/streams/test_tls.py:407
Method
test_send_exception_cause_preserved
Test that when connection_lost is called with an exception, the resulting BrokenResourceError from send() has the original exception
tests/test_sockets.py:603
Method
test_send_fds
( self, server_sock: socket.socket, socket_path: Path, tmp_path: Path )
tests/test_sockets.py:1341
Method
test_send_fds_bad_args
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1418
Function
test_send_is_unblocked_after_receive_nowait
()
tests/streams/test_memory.py:94
Method
test_send_large_buffer
( self, server_sock: socket.socket, server_addr: tuple[str, int] )
tests/test_sockets.py:295
Method
test_send_large_buffer
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1268
Function
test_send_nowait_then_receive_nowait
()
tests/streams/test_memory.py:110
Method
test_send_receive
( self, server_sock: socket.socket, server_addr: tuple[str, int] )
tests/test_sockets.py:272
Method
test_send_receive
( self, server_sock: socket.socket, socket_path_or_str: Path | str )
tests/test_sockets.py:1224
Method
test_send_receive
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:1789
Method
test_send_receive
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:1958
Method
test_send_receive
(self, socket_path_or_str: Path | str)
tests/test_sockets.py:2141
Method
test_send_receive
( self, socket_path_or_str: Path | str, peer_socket_path_or_str: Path | str, )
tests/test_sockets.py:2327
Method
test_send_receive
( self, server_context: ssl.SSLContext, client_context: ssl.SSLContext )
tests/streams/test_tls.py:35
Function
test_send_then_receive_nowait
()
tests/streams/test_memory.py:83
Function
test_send_to_natively_cancelled_receiver
Test that if a task waiting on receive.receive() is cancelled and then another task sends an item, said item is not delivered to the task wit
tests/streams/test_memory.py:489
Function
test_send_when_cancelled
Test that calling send() in a cancelled scope prevents it from going through with the operation.
tests/streams/test_memory.py:279
Function
test_shielded_cancel_sleep_time
Test that cancelling a shielded tasks spends more time sleeping than cancelling.
tests/test_taskgroups.py:1433
Function
test_shielded_cleanup_after_cancel
Regression test for #832.
tests/test_taskgroups.py:811
Function
test_shielded_deadline
()
tests/test_taskgroups.py:1073
Function
test_shielding
()
tests/test_taskgroups.py:759
Function
test_shielding_immediate_scope_cancelled
()
tests/test_taskgroups.py:961
Function
test_shielding_mutate
()
tests/test_taskgroups.py:976
Method
test_shorter_selectors
(self)
tests/test_itertools.py:378
Function
test_single_cancellation_exc
Test that only a single cancellation exception bubbles out of the task group when case it was cancelled via an outer scope and no actual erro
tests/test_taskgroups.py:1526
Method
test_single_thread
( self, provider: BlockingPortalProvider, anyio_backend_name: str )
tests/test_to_thread.py:303
Method
test_single_thread_overlapping
( self, provider: BlockingPortalProvider, anyio_backend_name: str )
tests/test_to_thread.py:320
Method
test_skips_empty_iterables
(self)
tests/test_itertools.py:234
Function
test_sleep_forever
(fake_sleep: AsyncMock)
tests/test_eventloop.py:43
Function
test_sleep_until
(fake_sleep: AsyncMock)
tests/test_eventloop.py:31
Function
test_sleep_until_in_past
(fake_sleep: AsyncMock)
tests/test_eventloop.py:37
Method
test_sniffio
(self, anyio_backend_name: str)
tests/test_from_thread.py:268
Method
test_sniffio
(self, anyio_backend_name: str)
tests/test_from_thread.py:326
Method
test_socket_options
( self, family: AnyIPAddressFamily, server_addr: tuple[str, int] )
tests/test_sockets.py:366
Method
test_socket_options
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:870
Method
test_socket_options
(self, socket_path: Path)
tests/test_sockets.py:1611
Function
test_start_already_closed
()
tests/test_taskgroups.py:117
Function
test_start_called_twice
()
tests/test_taskgroups.py:139
Function
test_start_cancel_after_error
Regression test for #517.
tests/test_taskgroups.py:413
Function
test_start_cancelled
()
tests/test_taskgroups.py:238
Function
test_start_cancels_parent_scope
Regression test for #685 / #710.
tests/test_taskgroups.py:1787
Function
test_start_crash_after_started_call
()
tests/test_taskgroups.py:213
Method
test_start_crash_after_started_call
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:675
Function
test_start_crash_before_started_call
()
tests/test_taskgroups.py:202
Method
test_start_crash_before_started_call
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:665
Function
test_start_exception_delivery
(return_handle: bool)
tests/test_taskgroups.py:400
Function
test_start_native_child_cancelled
()
tests/test_taskgroups.py:280
Function
test_start_native_host_cancelled
()
tests/test_taskgroups.py:256
Function
test_start_no_started_call
()
tests/test_taskgroups.py:227
Method
test_start_no_started_call
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:688
Function
test_start_no_value
()
tests/test_taskgroups.py:130
Method
test_start_no_value
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:631
Method
test_start_non_corofunc
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:653
Function
test_start_parent_id
()
tests/test_taskgroups.py:1565
Function
test_start_return_handle_cancel
()
tests/test_taskgroups.py:1817
Function
test_start_return_handle_success
()
tests/test_taskgroups.py:1805
Function
test_start_soon_after_error
()
tests/test_taskgroups.py:106
Function
test_start_soon_parent_id
()
tests/test_taskgroups.py:1548
Function
test_start_soon_while_running
()
tests/test_taskgroups.py:98
Function
test_start_sync_wrapper
()
tests/test_taskgroups.py:153
Function
test_start_sync_wrapper_called_twice
()
tests/test_taskgroups.py:167
Method
test_start_task_soon
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:477
Method
test_start_task_soon_cancel_after_stop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:539
Method
test_start_task_soon_cancel_immediately
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:517
Method
test_start_task_soon_cancel_later
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:504
Method
test_start_task_soon_non_corofunc
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:493
Method
test_start_task_soon_with_name
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:563
Method
test_start_with_name
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:698
Method
test_start_with_new_event_loop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:432
Method
test_start_with_nonexistent_backend
(self)
tests/test_from_thread.py:460
Method
test_start_with_thread_name
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:444
Function
test_start_with_value
()
tests/test_taskgroups.py:193
Method
test_start_with_value
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:642
Method
test_start_without_thread_name
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:452
Method
test_stat
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:788
Function
test_statistics
()
tests/streams/test_memory.py:374
Method
test_statistics
(self)
tests/test_synchronization.py:151
Method
test_statistics
(self)
tests/test_synchronization.py:318
Method
test_statistics
(self)
tests/test_synchronization.py:443
Method
test_statistics
(self)
tests/test_synchronization.py:603
Method
test_statistics
(self)
tests/test_synchronization.py:809
Function
test_stderr_flood
Test that writing large amounts of data to stderr in the worker process won't deadlock the call. Regression test for the worker's stderr not
tests/test_to_process.py:74
Function
test_stdin_input_both_passed
(tmp_path: Path)
tests/test_subprocesses.py:214
Method
test_stem_property
(self)
tests/test_fileio.py:238
Method
test_stepwise
(self)
tests/test_itertools.py:272
Method
test_stepwise
(self)
tests/test_itertools.py:315
Function
test_stopiteration
Test that raising StopIteration in a worker thread raises a RuntimeError on the caller.
tests/test_to_thread.py:280
Method
test_strict_complete_batch
(self)
tests/test_itertools.py:164
← previous
next →
1,901–2,000 of 2,163, ranked by callers