MCPcopy Create free account

hub / github.com/MagicStack/asyncpg / functions

Functions1,164 in github.com/MagicStack/asyncpg

↓ 2 callersFunctionfind_root
()
tests/test__sourcecode.py:13
↓ 2 callersFunctionget_freelist_state
asyncpg/protocol/record/recordobj.c:79
↓ 2 callersMethodget_message_class_for_sqlstate
(mcls, code)
asyncpg/exceptions/_base.py:74
↓ 2 callersMethodget_name
Return the name of this prepared statement. .. versionadded:: 0.25.0
asyncpg/prepared_stmt.py:29
↓ 2 callersMethodget_server_settings
(cls)
asyncpg/_testbase/__init__.py:303
↓ 2 callersMethodget_statusmsg
Return the status of the executed command. Example:: stmt = await connection.prepare('CREATE TABLE mytab (a int)') a
asyncpg/prepared_stmt.py:48
↓ 2 callersMethodis_managed
(self)
asyncpg/cluster.py:94
↓ 2 callersMethodissubset
(self, other: Self)
asyncpg/types.py:156
↓ 2 callersMethodlisten
(self)
asyncpg/_testbase/fuzzer.py:112
↓ 2 callersMethodnew
(cls, fields, query=None)
asyncpg/exceptions/_base.py:178
↓ 2 callersFunctionplatform_exe
(name)
asyncpg/cluster.py:30
↓ 2 callersMethodprepare
Create a *prepared statement* for the specified query. :param str query: Text of the query to create a prepared statement for.
asyncpg/connection.py:629
↓ 2 callersFunctionrecord_item
asyncpg/protocol/record/recordobj.c:289
↓ 2 callersFunctionrecord_item_by_name
Lookup a record value by its name. Return 0 on success, -2 if the * value was not found (with KeyError set), and -1 on all other errors. */
asyncpg/protocol/record/recordobj.c:431
↓ 2 callersFunctionrecord_new_iter
asyncpg/protocol/record/recordobj.c:853
↓ 2 callersMethodremove_log_listener
Remove a listening callback for log messages. .. versionadded:: 0.12.0
asyncpg/connection.py:203
↓ 2 callersMethodsetUp
(self)
asyncpg/_testbase/__init__.py:116
↓ 2 callersMethodsetUpClass
(cls)
asyncpg/_testbase/__init__.py:101
↓ 2 callersMethodset_connect_args
r"""Set the new connection arguments for this pool. The new connection arguments will be used for all subsequent new connection attem
asyncpg/pool.py:630
↓ 2 callersMethodset_max_lifetime
(self, new_lifetime)
asyncpg/connection.py:2579
↓ 2 callersMethodset_max_size
(self, new_size)
asyncpg/connection.py:2571
↓ 2 callersMethodstart_tls
(self, ssl_context)
asyncpg/_testbase/fuzzer.py:184
↓ 2 callersMethodtearDownClass
(cls)
asyncpg/_testbase/__init__.py:112
↓ 2 callersMethodterminate
Terminate the connection without waiting for pending data.
asyncpg/connection.py:1544
↓ 1 callersFunctionPyBytesWriter_WriteBytes
asyncpg/protocol/record/pythoncapi_compat.h:2510
↓ 1 callersFunctionPyConfig_Get
asyncpg/protocol/record/pythoncapi_compat.h:1995
↓ 1 callersFunctionPyDict_Pop
asyncpg/protocol/record/pythoncapi_compat.h:1046
↓ 1 callersFunctionPyFrame_GetBack
asyncpg/protocol/record/pythoncapi_compat.h:171
↓ 1 callersFunctionPyFrame_GetCode
asyncpg/protocol/record/pythoncapi_compat.h:153
↓ 1 callersFunctionPyFrame_GetLocals
asyncpg/protocol/record/pythoncapi_compat.h:190
↓ 1 callersFunctionPyFrame_GetVar
asyncpg/protocol/record/pythoncapi_compat.h:243
↓ 1 callersFunctionPyMapping_GetOptionalItemString
asyncpg/protocol/record/pythoncapi_compat.h:746
↓ 1 callersFunctionPyObject_CallNoArgs
asyncpg/protocol/record/pythoncapi_compat.h:387
↓ 1 callersFunctionPyObject_GC_IsTracked
asyncpg/protocol/record/pythoncapi_compat.h:456
↓ 1 callersFunctionPyObject_GetOptionalAttrString
asyncpg/protocol/record/pythoncapi_compat.h:708
↓ 1 callersFunctionPySys_GetAttrString
asyncpg/protocol/record/pythoncapi_compat.h:2234
↓ 1 callersFunctionPySys_GetOptionalAttrString
asyncpg/protocol/record/pythoncapi_compat.h:2266
↓ 1 callersFunctionPyThreadState_GetFrame
asyncpg/protocol/record/pythoncapi_compat.h:308
↓ 1 callersFunctionPyType_GetModuleByDef
asyncpg/protocol/record/pythoncapi_compat_extras.h:12
↓ 1 callersFunctionPyUnicodeWriter_Create
asyncpg/protocol/record/pythoncapi_compat.h:1370
↓ 1 callersFunctionPyUnicodeWriter_Finish
asyncpg/protocol/record/pythoncapi_compat.h:1395
↓ 1 callersFunctionPyUnicodeWriter_Format
asyncpg/protocol/record/pythoncapi_compat.h:1511
↓ 1 callersFunctionPyUnicodeWriter_WriteChar
asyncpg/protocol/record/pythoncapi_compat.h:1403
↓ 1 callersFunctionPyUnicodeWriter_WriteRepr
asyncpg/protocol/record/pythoncapi_compat.h:1428
↓ 1 callersFunctionPyUnicodeWriter_WriteStr
asyncpg/protocol/record/pythoncapi_compat.h:1415
↓ 1 callersFunctionPyUnicode_EqualToUTF8AndSize
asyncpg/protocol/record/pythoncapi_compat.h:958
↓ 1 callersFunctionPy_GetConstant
asyncpg/protocol/record/pythoncapi_compat.h:1240
↓ 1 callersMethod__anext__
(self)
tests/test_copy.py:475
↓ 1 callersMethod__await__
(self)
asyncpg/pool.py:1158
↓ 1 callersFunction__connect_addr
( params, retry, addr, loop, config, connection_class, record_class, params_in
asyncpg/connect_utils.py:1127
↓ 1 callersMethod__contains__
(self, item)
tests/test_codecs.py:902
↓ 1 callersMethod__init__
(self, *args, faults, direct, attempts, tasks, caller_loop)
tests/test_connect.py:1933
↓ 1 callersFunction_accept_read_only
Verify the server has not set default_transaction_read_only=True
asyncpg/connect_utils.py:1231
↓ 1 callersFunction_add_class
(clsname, base, sqlstate, docstring)
tools/generate_exceptions.py:104
↓ 1 callersMethod_add_hba_entry
(self)
tests/test_connect.py:2081
↓ 1 callersMethod_bind
(self, timeout)
asyncpg/cursor.py:133
↓ 1 callersMethod_bind_exec
(self, n, timeout)
asyncpg/cursor.py:118
↓ 1 callersMethod_call_termination_listeners
(self)
asyncpg/connection.py:1728
↓ 1 callersFunction_can_use_connection
(connection, attr: SessionAttribute)
asyncpg/connect_utils.py:1260
↓ 1 callersMethod_cancel
(self, waiter, cancel_waiter=None)
asyncpg/connection.py:1678
↓ 1 callersFunction_cancel_and_wait
Cancel the *fut* future or task and wait until it completes.
asyncpg/_asyncio_compat.py:75
↓ 1 callersMethod_cancel_current_command
(self, waiter, cancel_waiter=None)
asyncpg/connection.py:1711
↓ 1 callersMethod_check_conn_validity
(self, meth_name)
asyncpg/prepared_stmt.py:280
↓ 1 callersMethod_check_conn_validity
(self, meth_name)
asyncpg/connresource.py:32
↓ 1 callersMethod_check_listeners
(self, listeners, listener_type)
asyncpg/connection.py:1800
↓ 1 callersMethod_check_open
(self, meth_name)
asyncpg/prepared_stmt.py:274
↓ 1 callersMethod_clean_tasks
(self)
asyncpg/connection.py:1620
↓ 1 callersMethod_cleanup_stmts
(self)
asyncpg/connection.py:1667
↓ 1 callersMethod_close_connection
(self, connection)
asyncpg/_testbase/fuzzer.py:147
↓ 1 callersMethod_close_portal
(self, timeout)
asyncpg/cursor.py:161
↓ 1 callersFunction_connect_addr
( *, addr, loop, params, config, connection_class, record_class )
asyncpg/connect_utils.py:1058
↓ 1 callersMethod_connection_addr_from_pidfile
(self)
asyncpg/cluster.py:462
↓ 1 callersMethod_copy_in
(self, copy_stmt, source, timeout)
asyncpg/connection.py:1233
↓ 1 callersMethod_detach
(self)
asyncpg/pool.py:113
↓ 1 callersFunction_detect_server_capabilities
(server_version, connection_settings)
asyncpg/connection.py:2731
↓ 1 callersFunction_dot_postgresql_path
(filename)
asyncpg/connect_utils.py:273
↓ 1 callersMethod_drop_global_type_cache
(self)
asyncpg/connection.py:1838
↓ 1 callersMethod_drop_statement_cache
(self)
asyncpg/pool.py:1146
↓ 1 callersMethod_drop_type_cache
(self)
asyncpg/pool.py:1152
↓ 1 callersFunction_extract_stack
Replacement for traceback.extract_stack() that only does the necessary work for asyncio debug mode.
asyncpg/connection.py:2780
↓ 1 callersMethod_find_pg_config
(self, pg_config_path)
asyncpg/cluster.py:563
↓ 1 callersMethod_format_loop_exception
(self, context, n)
asyncpg/_testbase/__init__.py:184
↓ 1 callersMethod_get_error_class
(cls, fields)
asyncpg/exceptions/_base.py:81
↓ 1 callersMethod_get_error_dict
(cls, fields, query)
asyncpg/exceptions/_base.py:86
↓ 1 callersFunction_get_error_name
(sqlstatename, msgtype, sqlstate)
tools/generate_exceptions.py:39
↓ 1 callersMethod_get_new_connection
(self)
asyncpg/pool.py:654
↓ 1 callersMethod_get_pg_version
(self)
asyncpg/cluster.py:601
↓ 1 callersFunction_init_default_cluster
(initdb_options=None)
asyncpg/_testbase/__init__.py:243
↓ 1 callersMethod_initialize
(self)
asyncpg/pool.py:509
↓ 1 callersMethod_issubset_lower
(self, other: Self)
asyncpg/types.py:134
↓ 1 callersMethod_issubset_upper
(self, other: Self)
asyncpg/types.py:145
↓ 1 callersMethod_iter_methods
(bases, ns)
asyncpg/_testbase/__init__.py:56
↓ 1 callersFunction_load_key
(path, password=None)
tests/certs/gen.py:166
↓ 1 callersMethod_main
(self, started_event)
asyncpg/_testbase/fuzzer.py:96
↓ 1 callersMethod_maintain_min_size
(self)
asyncpg/pool.py:550
↓ 1 callersMethod_mark_stmts_as_closed
(self)
asyncpg/connection.py:1638
↓ 1 callersFunction_mkdtemp
(suffix=None, prefix=None, dir=None)
asyncpg/cluster.py:63
↓ 1 callersMethod_negotiate_ssl
Return whether the client can proceed to its startup message.
tests/test_connect.py:1979
↓ 1 callersMethod_new_entry
(self, query, statement)
asyncpg/connection.py:2649
↓ 1 callersMethod_on_release
(self, stacklevel=1)
asyncpg/connection.py:1812
← previousnext →201–300 of 1,164, ranked by callers