MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,163 in github.com/agronholm/anyio

Methoderror_received
(self, exc: Exception)
src/anyio/_backends/_asyncio.py:1304
Functionevent_loop_implementation_name
()
tests/conftest.py:191
Methodevent_waiter
()
tests/test_from_thread.py:480
Functionexception_handler
(loop: object, context: Any = None)
tests/test_to_thread.py:232
Functionexception_handler
(*args: object, **kwargs: object)
tests/test_taskgroups.py:1395
Functionexit_scope
(scope: CancelScope)
tests/test_taskgroups.py:1488
Methodexternal_thread
()
tests/test_from_thread.py:283
Methodexternal_thread
()
tests/test_from_thread.py:376
Methodexternalthread
()
tests/test_from_thread.py:182
Methodextra_attributes
(self)
src/anyio/abc/_sockets.py:142
Methodextra_attributes
A mapping of the extra attributes to callables that return the corresponding values. If the provider wraps another provider,
src/anyio/_core/_typedattr.py:40
Methodextra_attributes
(self)
src/anyio/streams/stapled.py:60
Methodextra_attributes
(self)
src/anyio/streams/stapled.py:96
Methodextra_attributes
(self)
src/anyio/streams/stapled.py:145
Methodextra_attributes
(self)
src/anyio/streams/text.py:72
Methodextra_attributes
(self)
src/anyio/streams/text.py:107
Methodextra_attributes
(self)
src/anyio/streams/text.py:158
Methodextra_attributes
(self)
src/anyio/streams/buffered.py:51
Methodextra_attributes
(self)
src/anyio/streams/tls.py:279
Methodextra_attributes
(self)
src/anyio/streams/tls.py:386
Methodextra_attributes
(self)
src/anyio/streams/file.py:43
Methodextra_attributes
(self)
tests/test_typedattr.py:16
Functionfactory
( family: socket.AddressFamily, kind: socket.SocketKind, *, bound: bool = Fals
tests/test_sockets.py:175
Functionfail
(name: str)
tests/test_taskgroups.py:1186
Methodfailing_func
()
tests/test_from_thread.py:614
Methodfake_bind
( self: socket.socket, addr: tuple[str, int] | tuple[str, int, int, int] )
tests/test_sockets.py:1109
Functionfake_getaddrinfo
(*args: Any, **kwargs: Any)
tests/test_sockets.py:122
Functionfake_localhost_dns
(monkeypatch: MonkeyPatch)
tests/test_sockets.py:121
Methodfake_rollover
()
tests/test_tempfile.py:64
Functionfake_sleep
()
tests/test_eventloop.py:23
Methodfake_wrap
( transport_stream: AnyByteStream, **kwargs: Any )
tests/test_sockets.py:701
Methodfamilies
(cls)
tests/test_pytest_plugin.py:724
Functionfamily
(request: SubRequest)
tests/test_sockets.py:137
Methodfile_path
(cls, tmp_path_factory: TempPathFactory)
tests/streams/test_file.py:17
Methodfile_path
(self, tmp_path: Path)
tests/streams/test_file.py:81
Methodfile_path_or_str
(self, request: SubRequest, file_path: Path)
tests/streams/test_file.py:23
Methodfilter
(self, record: logging.LogRecord)
tests/conftest.py:97
Methodfoo
()
tests/test_functools.py:423
Methodfoo
()
tests/test_from_thread.py:297
Functionfree_tcp_port
(free_tcp_port_factory: Callable[[], int])
src/anyio/pytest_plugin.py:369
Functionfree_udp_port
(free_udp_port_factory: Callable[[], int])
src/anyio/pytest_plugin.py:374
Methodfrom_path
Create a file write stream by opening the given file for writing. :param path: path of the file to write to :param append: i
src/anyio/streams/file.py:136
Methodfrom_socket
Wrap an existing socket object or file descriptor as a socket stream. The newly created socket wrapper takes ownership of the socket
src/anyio/abc/_sockets.py:186
Methodfrom_socket
Wrap an existing socket object or file descriptor as a UNIX socket stream. The newly created socket wrapper takes ownership of the s
src/anyio/abc/_sockets.py:203
Methodfrom_socket
Wrap an existing socket object or file descriptor as a socket listener. The newly created listener takes ownership of the socket bei
src/anyio/abc/_sockets.py:248
Methodfrom_socket
Wrap an existing socket object or file descriptor as a connected UDP socket. The newly created socket wrapper takes ownership of the
src/anyio/abc/_sockets.py:322
Methodfrom_socket
Wrap an existing socket object or file descriptor as a UNIX datagram socket. The newly created socket wrapper takes ownershi
src/anyio/abc/_sockets.py:351
Methodfrom_socket
Wrap an existing socket object or file descriptor as a connected UNIX datagram socket. The newly created socket wrapper take
src/anyio/abc/_sockets.py:381
Functionfunc
(future: object)
tests/test_to_thread.py:216
Functionfunc
()
tests/test_itertools.py:90
Methodfunc
(x: int)
tests/test_functools.py:39
Methodfunc
(x: int)
tests/test_functools.py:72
Methodfunc
(x: int, y: int)
tests/test_functools.py:438
Methodfunc
()
tests/test_itertools.py:880
Functiong
()
tests/test_taskgroups.py:556
Functiongenerator_part
()
tests/test_taskgroups.py:1330
Methodget_current_task
(cls)
src/anyio/_backends/_asyncio.py:3108
Methodget_dummyattr
(self)
tests/test_typedattr.py:12
Methodget_next_value
()
src/anyio/_core/_fileio.py:909
Methodget_running_tasks
(cls)
src/anyio/abc/_eventloop.py:399
Methodget_running_tasks
(cls)
src/anyio/_backends/_asyncio.py:3112
Methodget_token
()
tests/test_from_thread.py:246
Methodget_token
()
tests/test_from_thread.py:308
Methodget_var
()
tests/test_from_thread.py:724
Methodgetaddrinfo
( cls, host: bytes | str | None, port: str | int | None, *, family: in
src/anyio/_backends/_asyncio.py:2867
Methodgetnameinfo
( cls, sockaddr: IPSockAddrType, flags: int = 0 )
src/anyio/_backends/_asyncio.py:2890
Functionhandle
(stream: SocketStream)
tests/test_sockets.py:1690
Methodhandle
(stream: SocketStream)
tests/test_sockets.py:949
Methodhandle
(stream: SocketStream)
tests/test_sockets.py:1631
Methodhandle_handshake_error
( exc: BaseException, stream: AnyByteStream )
tests/streams/test_tls.py:501
Methodhandler
(stream: object)
tests/streams/test_tls.py:494
Methodhandler_wrapper
(stream: AnyByteStream)
src/anyio/streams/tls.py:365
Methodhas_pending_cancellation
(self)
src/anyio/_backends/_asyncio.py:2233
Methodhas_pending_cancellation
(self)
src/anyio/_backends/_trio.py:1068
Methodin_loop
()
tests/test_from_thread.py:737
Functionin_task_group
(task_status: TaskStatus[None])
tests/test_taskgroups.py:1791
Methodinfo
(self)
src/anyio/_core/_fileio.py:500
Functioninspect
()
tests/test_debugging.py:75
Methodinterrupt
()
tests/test_sockets.py:524
Methodinterrupt
()
tests/test_sockets.py:1463
Methodis_even
(value: int)
tests/test_itertools.py:497
Methodis_running
(self)
src/anyio/_backends/_asyncio.py:2293
Methodis_running
(self)
src/anyio/_backends/_trio.py:985
Methodis_set
(self)
src/anyio/_core/_synchronization.py:139
Methodkill
Kills the process. On Windows, this calls ``TerminateProcess()``. On POSIX systems, this sends ``SIGKILL`` to the process.
src/anyio/abc/_subprocesses.py:33
Functionkiller
(scope: CancelScope)
tests/test_taskgroups.py:1102
Methodkind
The type of socket connection (e.g., :data:`~socket.SOCK_STREAM` or :data:`~socket.SOCK_DGRAM`) used to bind for checking port availa
src/anyio/pytest_plugin.py:316
Methodless_than_five
(value: int)
tests/test_itertools.py:888
Methodless_than_four
(value: int)
tests/test_itertools.py:466
Methodless_than_four
(value: int)
tests/test_itertools.py:904
Methodless_than_three
(value: int)
tests/test_itertools.py:451
Methodless_than_three
(value: int)
tests/test_itertools.py:892
Methodless_than_zero
(value: int)
tests/test_itertools.py:462
Methodless_than_zero
(value: int)
tests/test_itertools.py:908
Functionlimiter
(request: FixtureRequest)
tests/test_fileio.py:19
Methodlimiter
The capacity limiter used by this file object, if not the global limiter.
src/anyio/_core/_fileio.py:99
Methodlimiter
The capacity limiter used by this path, if not the global limiter.
src/anyio/_core/_fileio.py:422
Methodlocked
Return True if the lock is currently held.
src/anyio/_core/_synchronization.py:253
Functionmain
()
tests/test_eventloop.py:76
Functionmain
()
tests/test_debugging.py:33
← previousnext →901–1,000 of 2,163, ranked by callers