MCPcopy Create free account

hub / github.com/MagicStack/asyncpg / functions

Functions1,164 in github.com/MagicStack/asyncpg

↓ 1 callersFunction_parse_connect_arguments
(*, dsn, host, port, user, password, passfile, database, command_timeout,
asyncpg/connect_utils.py:879
↓ 1 callersFunction_parse_connect_dsn_and_args
(*, dsn, host, port, user, password, passfile, database, ssl,
asyncpg/connect_utils.py:282
↓ 1 callersFunction_parse_hostlist
(hostlist, port, *, unquote=False)
asyncpg/connect_utils.py:196
↓ 1 callersFunction_parse_tls_version
(tls_version)
asyncpg/connect_utils.py:260
↓ 1 callersFunction_quote_ident
(ident)
asyncpg/utils.py:11
↓ 1 callersFunction_read_password_file
(passfile: pathlib.Path)
asyncpg/connect_utils.py:100
↓ 1 callersFunction_read_password_from_pgpass
Parse the pgpass file and return the matching password. :return: Password string, if found, ``None`` otherwise.
asyncpg/connect_utils.py:143
↓ 1 callersMethod_release_on_close
(self)
asyncpg/pool.py:343
↓ 1 callersMethod_run_connection_test
( self, connect, target_attribute, expected_port )
tests/test_connect.py:2919
↓ 1 callersMethod_run_pg_config
(self, pg_config_path)
asyncpg/cluster.py:545
↓ 1 callersFunction_system_timezone
()
tests/test_codecs.py:28
↓ 1 callersFunction_timezone
(offset)
tests/test_codecs.py:23
↓ 1 callersMethod_wait
(self, work)
asyncpg/_testbase/fuzzer.py:40
↓ 1 callersFunction_world_readable_mkdtemp
(suffix=None, prefix=None, dir=None)
asyncpg/cluster.py:50
↓ 1 callersMethod_wrap_connection_method
( meth_name: str, iscoroutine: bool )
asyncpg/pool.py:76
↓ 1 callersMethod_write_error_response
(self, exc_type)
tests/test_connect.py:2014
↓ 1 callersMethodadd_query_logger
Add a logger that will be called when queries are executed. :param callable callback: A callable or a coroutine function receivin
asyncpg/connection.py:235
↓ 1 callersMethodclose
Close the connection gracefully. :param float timeout: Optional timeout value in seconds. .. versionchanged:: 0.14.0
asyncpg/connection.py:1525
↓ 1 callersMethodclose_all_connections
(self)
asyncpg/_testbase/fuzzer.py:152
↓ 1 callersMethodcommit
Exit the transaction or savepoint block and commit changes.
asyncpg/transaction.py:214
↓ 1 callersMethodconnect
(self, loop=None, **kwargs)
asyncpg/cluster.py:127
↓ 1 callersMethodconnection_lost
(self, exc)
asyncpg/connect_utils.py:1322
↓ 1 callersMethodconnection_made
(self, transport)
tests/test_timeout.py:243
↓ 1 callersFunctioncreate_pool
(dsn=None, *, init_size=None, min_size=10, max_size=10,
asyncpg/_testbase/__init__.py:270
↓ 1 callersFunctionexisting_key
(path)
tests/certs/gen.py:254
↓ 1 callersMethodexplain
Return the execution plan of the statement. :param args: Query arguments. :param analyze: If ``True``, the statement will be executed
asyncpg/prepared_stmt.py:126
↓ 1 callersMethodfetchval
Execute the statement and return a value in the first row. :param args: Query arguments. :param int column: Numeric index within the
asyncpg/prepared_stmt.py:181
↓ 1 callersFunctionfind_available_port
()
asyncpg/cluster.py:39
↓ 1 callersMethodfoo
(self)
tests/test_pool.py:553
↓ 1 callersMethodget_connection_spec
(self)
asyncpg/cluster.py:321
↓ 1 callersMethodget_disconnected_nowait
(self)
asyncpg/pool.py:37
↓ 1 callersMethodget_idle_size
Return the current number of idle connections in this pool. .. versionadded:: 0.25.0
asyncpg/pool.py:623
↓ 1 callersMethodget_max_lifetime
(self)
asyncpg/connection.py:2576
↓ 1 callersMethodget_query
Return the text of the query for this prepared statement. Example:: stmt = await connection.prepare('SELECT $1::int')
asyncpg/prepared_stmt.py:37
↓ 1 callersMethodget_reset_query
Return the query sent to server on connection release. The query returned by this method is used by :meth:`Connection.reset`, which i
asyncpg/connection.py:1763
↓ 1 callersFunctionget_typename
asyncpg/protocol/record/recordobj.c:532
↓ 1 callersFunctiongit_commitish
()
setup.py:67
↓ 1 callersMethodhandle
(self)
asyncpg/_testbase/fuzzer.py:204
↓ 1 callersMethodhas
(self, query)
asyncpg/connection.py:2610
↓ 1 callersMethodinit
Initialize cluster.
asyncpg/cluster.py:132
↓ 1 callersMethodis_idle
(self)
asyncpg/pool.py:162
↓ 1 callersMethodissuperset
(self, other: Self)
asyncpg/types.py:164
↓ 1 callersFunctionmain
()
tools/generate_type_map.py:124
↓ 1 callersFunctionmain
()
tools/generate_exceptions.py:68
↓ 1 callersFunctionmain
(*, rotate_keys=False)
tests/certs/gen.py:253
↓ 1 callersFunctionmake_record
asyncpg/protocol/record/recordobj.c:102
↓ 1 callersFunctionmock_dev_null_home_dir
()
tests/test_connect.py:98
↓ 1 callersFunctionmock_no_home_dir
()
tests/test_connect.py:90
↓ 1 callersFunctionnew_ca
(path, private_key=None, **subject)
tests/certs/gen.py:189
↓ 1 callersFunctionnew_cert
( path, ca_cert_key_pair, password=None, is_issuer=False, is_client=False, private_key
tests/certs/gen.py:199
↓ 1 callersFunctionnew_crl
(path, issuer, cert)
tests/certs/gen.py:233
↓ 1 callersFunctionnew_csr
(path, private_key, **subject)
tests/certs/gen.py:219
↓ 1 callersMethodoverride_connection_spec
(self, **kwargs)
asyncpg/cluster.py:328
↓ 1 callersMethodparse
(cls, sslmode)
asyncpg/connect_utils.py:51
↓ 1 callersMethodpassword
()
tests/test_connect.py:2226
↓ 1 callersMethodprepare
Optionally negotiate or inject faults before forwarding bytes.
asyncpg/_testbase/fuzzer.py:171
↓ 1 callersMethodproxy_from_backend
(self)
asyncpg/_testbase/fuzzer.py:339
↓ 1 callersMethodproxy_to_backend
(self)
asyncpg/_testbase/fuzzer.py:313
↓ 1 callersMethodput
(self, query, statement)
asyncpg/connection.py:2613
↓ 1 callersFunctionrecord_desc_vectorcall
asyncpg/protocol/record/recordobj.c:1023
↓ 1 callersFunctionrecord_module_clear
asyncpg/protocol/record/recordobj.c:1221
↓ 1 callersFunctionrecord_new_items_iter
asyncpg/protocol/record/recordobj.c:977
↓ 1 callersFunctionreference_hifi
The RFC 5802 Hi() loop that the salted password used to implement.
tests/test_scram.py:38
↓ 1 callersMethodremove_query_logger
Remove a query logger callback. :param callable callback: The callable or coroutine function that was passed to :meth
asyncpg/connection.py:247
↓ 1 callersMethodreset
Reset the connection state. Calling this will reset the connection session state to a state resembling that of a newly obtained conne
asyncpg/connection.py:1567
↓ 1 callersMethodreset
(self)
asyncpg/_testbase/fuzzer.py:144
↓ 1 callersMethodreset_wal
(self, *, oid=None, xid=None)
asyncpg/cluster.py:331
↓ 1 callersFunctionrunner
(args)
tools/generate_type_map.py:55
↓ 1 callersMethodsetUp
(self)
tests/test_connect.py:2052
↓ 1 callersMethodsetUpClass
(cls)
tests/test_connect.py:408
↓ 1 callersMethodsetup
(con)
tests/test_pool.py:144
↓ 1 callersMethodsetup_cluster
(cls)
asyncpg/_testbase/__init__.py:327
↓ 1 callersMethodsimulate_cluster_recovery_mode
(self)
tests/test_pool.py:1564
↓ 1 callersFunctionsplit_server_version_string
(version_string: str)
asyncpg/serverversion.py:32
↓ 1 callersMethodstart
Enter the transaction or savepoint block.
asyncpg/transaction.py:96
↓ 1 callersMethodstop
(self, wait=60)
asyncpg/cluster.py:282
↓ 1 callersFunctionsuite
()
tests/__init__.py:13
↓ 1 callersMethodtearDown
(self)
tests/test_connect.py:2069
↓ 1 callersMethodtrust_local_replication_by
(self, user)
asyncpg/cluster.py:434
↓ 1 callersMethoduse_client_stream
Wrap the accepted socket in a stream, optionally with direct TLS.
asyncpg/_testbase/fuzzer.py:175
↓ 1 callersMethodwait_until_released
(self)
asyncpg/pool.py:294
FunctionPyBytesWriter_Create
asyncpg/protocol/record/pythoncapi_compat.h:2392
FunctionPyBytesWriter_Finish
asyncpg/protocol/record/pythoncapi_compat.h:2446
FunctionPyBytesWriter_FinishWithPointer
asyncpg/protocol/record/pythoncapi_compat.h:2452
FunctionPyBytesWriter_Format
asyncpg/protocol/record/pythoncapi_compat.h:2536
FunctionPyBytesWriter_GetSize
asyncpg/protocol/record/pythoncapi_compat.h:2375
FunctionPyBytesWriter_GrowAndUpdatePointer
asyncpg/protocol/record/pythoncapi_compat.h:2499
FunctionPyBytesWriter_Resize
asyncpg/protocol/record/pythoncapi_compat.h:2465
FunctionPyBytes_Join
asyncpg/protocol/record/pythoncapi_compat.h:1605
FunctionPyCode_GetCellvars
asyncpg/protocol/record/pythoncapi_compat.h:542
FunctionPyCode_GetCode
asyncpg/protocol/record/pythoncapi_compat.h:517
FunctionPyCode_GetFreevars
asyncpg/protocol/record/pythoncapi_compat.h:534
FunctionPyCode_GetVarnames
asyncpg/protocol/record/pythoncapi_compat.h:526
FunctionPyConfig_GetInt
asyncpg/protocol/record/pythoncapi_compat.h:2187
FunctionPyDict_ContainsString
asyncpg/protocol/record/pythoncapi_compat.h:886
FunctionPyDict_GetItemStringRef
asyncpg/protocol/record/pythoncapi_compat.h:835
FunctionPyDict_PopString
asyncpg/protocol/record/pythoncapi_compat.h:1088
FunctionPyDict_SetDefaultRef
asyncpg/protocol/record/pythoncapi_compat.h:1316
FunctionPyFloat_Pack2
asyncpg/protocol/record/pythoncapi_compat.h:487
FunctionPyFloat_Pack4
asyncpg/protocol/record/pythoncapi_compat.h:501
← previousnext →301–400 of 1,164, ranked by callers