A fast PostgreSQL Database Client Library for Python/asyncio.
This report summarizes scanner evidence for MagicStack/asyncpg, a Python project with 8,106 GitHub stars. SynthScan examined 28,360 lines of code across 65 source files, recording 409 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 17.4 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 337 finding(s).
Are imports declared and package/API names verified? 48 finding(s).
Are wrappers, guards, and repeated structures necessary? 259 finding(s).
Which changes need focused human review? 409 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 409 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | setup.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tools/generate_exceptions.py | 6 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tools/generate_type_map.py | 6 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tools/generate_type_map.py | 63 | '# This module is part of asyncpg and is released under\n' | CODE |
| MEDIUM | asyncpg/compat.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/transaction.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/__init__.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/types.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/serverversion.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/prepared_stmt.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/connection.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/utils.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/cluster.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/connect_utils.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/introspection.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/connresource.py | 5 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/pool.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/cursor.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/_testbase/__init__.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/_testbase/fuzzer.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/protocol/__init__.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | asyncpg/exceptions/_base.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_transaction.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_utils.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_connect.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_record.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_test.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_timeout.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_scram.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_subinterpreters.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test__sourcecode.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_copy.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_exceptions.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/__init__.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_execute.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_cursor.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_adversity.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test__environment.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_cancellation.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_introspection.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_listeners.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_cache_invalidation.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_cache_invalidation.py | 338 | # Create the same schema in the "testdb", fetch data which caches | COMMENT |
| MEDIUM | tests/test_prepare.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_codecs.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_pool.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | tests/test_types.py | 4 | # This module is part of asyncpg and is released under | COMMENT |
| MEDIUM | .github/release_log.py | 6 | # This module is part of asyncpg and is released under | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | asyncpg/serverversion.py | 32 | def split_server_version_string(version_string: str) -> ServerVersion: | CODE |
| LOW | asyncpg/connection.py | 224 | def remove_termination_listener(self, callback): | CODE |
| LOW | asyncpg/connection.py | 1728 | def _call_termination_listeners(self): | CODE |
| LOW | asyncpg/connection.py | 1823 | def _drop_local_statement_cache(self): | CODE |
| LOW | asyncpg/connection.py | 1826 | def _drop_global_statement_cache(self): | CODE |
| LOW | asyncpg/connection.py | 2731 | def _detect_server_capabilities(server_version, connection_settings): | STRING |
| LOW | asyncpg/cluster.py | 434 | def trust_local_replication_by(self, user): | CODE |
| LOW | asyncpg/cluster.py | 462 | def _connection_addr_from_pidfile(self): | CODE |
| LOW | asyncpg/connect_utils.py | 143 | def _read_password_from_pgpass( | CODE |
| LOW | asyncpg/connect_utils.py | 282 | def _parse_connect_dsn_and_args(*, dsn, host, port, user, | CODE |
| LOW⚡ | asyncpg/pool.py | 321 | def _maybe_cancel_inactive_callback(self) -> None: | CODE |
| LOW⚡ | asyncpg/pool.py | 326 | def _deactivate_inactive_connection(self) -> None: | CODE |
| LOW | asyncpg/pool.py | 542 | def _schedule_min_size_maintenance(self): | CODE |
| LOW | asyncpg/_testbase/__init__.py | 31 | def silence_asyncio_long_exec_warning(): | CODE |
| LOW | asyncpg/_testbase/__init__.py | 513 | def get_cluster_connection_spec(cls, cluster, kwargs={}): | STRING |
| LOW | asyncpg/_testbase/fuzzer.py | 130 | def trigger_connectivity_loss(self): | CODE |
| LOW | asyncpg/_testbase/fuzzer.py | 133 | def _trigger_connectivity_loss(self): | CODE |
| LOW | asyncpg/exceptions/_base.py | 74 | def get_message_class_for_sqlstate(mcls, code): | CODE |
| LOW | tests/test_transaction.py | 113 | async def test_transaction_interface_errors(self): | STRING |
| LOW | tests/test_transaction.py | 162 | async def test_transaction_within_manual_transaction(self): | STRING |
| LOW | tests/test_transaction.py | 214 | async def test_nested_isolation_level(self): | STRING |
| LOW | tests/test_connect.py | 260 | async def test_auth_password_cleartext(self): | CODE |
| LOW | tests/test_connect.py | 273 | async def test_auth_password_cleartext_without_password(self): | CODE |
| LOW | tests/test_connect.py | 278 | async def test_auth_password_cleartext_callable(self): | CODE |
| LOW | tests/test_connect.py | 297 | async def test_auth_password_cleartext_callable_coroutine(self): | CODE |
| LOW | tests/test_connect.py | 316 | async def test_auth_password_cleartext_callable_awaitable(self): | CODE |
| LOW | tests/test_connect.py | 448 | async def test_auth_gssapi_bad_srvname(self): | CODE |
| LOW | tests/test_connect.py | 456 | async def test_auth_gssapi_bad_user(self): | CODE |
| LOW | tests/test_connect.py | 1224 | def test_test_connect_params_environ(self): | CODE |
| LOW | tests/test_connect.py | 1251 | def test_test_connect_params_run_testcase(self): | CODE |
| LOW | tests/test_connect.py | 1270 | def test_connect_connection_service_file(self): | CODE |
| LOW⚡ | tests/test_connect.py | 2787 | async def test_nossl_handshake_fallback(self): | STRING |
| LOW⚡ | tests/test_connect.py | 2797 | async def test_nossl_connection_sslmode(self): | STRING |
| LOW⚡ | tests/test_connect.py | 2807 | async def test_nossl_connection_prefer_cancel(self): | STRING |
| LOW | tests/test_connect.py | 1375 | def test_connect_pgpass_regular(self): | STRING |
| LOW | tests/test_connect.py | 1549 | def test_connect_pgpass_badness_mode(self): | STRING |
| LOW | tests/test_connect.py | 1573 | def test_connect_pgpass_badness_non_file(self): | STRING |
| LOW | tests/test_connect.py | 1594 | def test_connect_pgpass_nonexistent(self): | STRING |
| LOW | tests/test_connect.py | 1612 | def test_connect_pgpass_inaccessible_file(self): | STRING |
| LOW | tests/test_connect.py | 1633 | def test_connect_pgpass_inaccessible_directory(self): | STRING |
| LOW | tests/test_connect.py | 1657 | async def test_connect_args_validation(self): | STRING |
| LOW | tests/test_connect.py | 1674 | async def test_connect_terminates_rejected_connections(self): | STRING |
| LOW | tests/test_connect.py | 1727 | async def test_rejected_host_cannot_time_out_selected_connection(self): | STRING |
| LOW | tests/test_connect.py | 1763 | async def test_connection_cancelled_during_transport_setup(self): | STRING |
| LOW | tests/test_connect.py | 1785 | async def test_connection_isinstance(self): | STRING |
| LOW | tests/test_connect.py | 1790 | async def test_connection_use_after_close(self): | STRING |
| LOW | tests/test_connect.py | 1822 | async def test_connection_ssl_to_no_ssl_server(self): | STRING |
| LOW | tests/test_connect.py | 1833 | async def test_connection_sslmode_no_ssl_server(self): | STRING |
| LOW | tests/test_connect.py | 1871 | async def test_connection_implicit_host(self): | STRING |
| LOW | tests/test_connect.py | 1880 | async def test_connection_no_home_dir(self): | STRING |
| LOW | tests/test_connect.py | 2100 | async def _test_cancellation_recovery(self, con): | STRING |
| LOW | tests/test_connect.py | 2145 | async def _test_connect_interruption(self, *, ready, cancel, **conn_args): | STRING |
| LOW | tests/test_connect.py | 2209 | async def test_ssl_startup_retry_boundary(self): | STRING |
| LOW | tests/test_connect.py | 2244 | async def test_ssl_post_authentication_server_error(self): | STRING |
| LOW | tests/test_connect.py | 2255 | async def test_ssl_fallback_error_cause(self): | STRING |
| LOW | tests/test_connect.py | 2269 | async def test_ssl_cannot_connect_now_failover(self): | STRING |
| LOW | tests/test_connect.py | 2315 | async def test_sslrequest_errors_are_terminal(self): | STRING |
| LOW | tests/test_connect.py | 2337 | async def test_ssl_declined_and_disconnect_attempt_counts(self): | STRING |
| LOW | tests/test_connect.py | 2357 | async def test_ssl_connect_timeout_and_cancellation(self): | STRING |
| LOW | tests/test_connect.py | 2371 | async def test_ssl_handshake_failure_cause(self): | STRING |
| 164 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | asyncpg/compat.py | 50 | except ConnectionResetError: | CODE |
| HIGH | asyncpg/serverversion.py | 46 | except (TypeError, ValueError): | CODE |
| HIGH | asyncpg/connection.py | 1696 | except asyncio.CancelledError: | CODE |
| HIGH | asyncpg/connection.py | 1686 | except ConnectionResetError: | CODE |
| HIGH | asyncpg/connect_utils.py | 137 | except IOError: | CODE |
| HIGH | asyncpg/connect_utils.py | 792 | except (FileNotFoundError, NotADirectoryError): | CODE |
| HIGH | asyncpg/connect_utils.py | 760 | except ( | CODE |
| HIGH | asyncpg/_testbase/fuzzer.py | 218 | except ConnectionError: | CODE |
| HIGH | asyncpg/_testbase/fuzzer.py | 332 | except ConnectionError: | CODE |
| HIGH | asyncpg/_testbase/fuzzer.py | 358 | except ConnectionError: | CODE |
| HIGH | tests/test_connect.py | 240 | except asyncpg.ConnectionDoesNotExistError: | CODE |
| HIGH | tests/test_timeout.py | 205 | except asyncio.TimeoutError: | CODE |
| HIGH | tests/test_subinterpreters.py | 14 | except ImportError: | CODE |
| HIGH | tests/test_listeners.py | 339 | except Exception: | CODE |
| HIGH | tests/test_cache_invalidation.py | 182 | except UserWarning: | CODE |
| HIGH | tests/test_cache_invalidation.py | 233 | except UserWarning: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | asyncpg/compat.py | 7 | CODE | |
| LOW | asyncpg/compat.py | 60 | CODE | |
| LOW | asyncpg/compat.py | 64 | CODE | |
| LOW | asyncpg/compat.py | 66 | CODE | |
| LOW | asyncpg/compat.py | 70 | CODE | |
| LOW | asyncpg/compat.py | 72 | CODE | |
| LOW | asyncpg/compat.py | 75 | CODE | |
| LOW | asyncpg/compat.py | 79 | CODE | |
| LOW | asyncpg/compat.py | 88 | CODE | |
| LOW | asyncpg/_version.py | 13 | CODE | |
| LOW | asyncpg/__init__.py | 7 | CODE | |
| LOW | asyncpg/__init__.py | 9 | CODE | |
| LOW | asyncpg/__init__.py | 9 | CODE | |
| LOW | asyncpg/__init__.py | 10 | CODE | |
| LOW | asyncpg/__init__.py | 11 | CODE | |
| LOW | asyncpg/__init__.py | 11 | CODE | |
| LOW | asyncpg/__init__.py | 12 | CODE | |
| LOW | asyncpg/__init__.py | 13 | CODE | |
| LOW | asyncpg/__init__.py | 16 | CODE | |
| LOW | asyncpg/types.py | 7 | CODE | |
| LOW | asyncpg/types.py | 11 | CODE | |
| LOW | asyncpg/types.py | 11 | CODE | |
| LOW | asyncpg/types.py | 11 | CODE | |
| LOW | asyncpg/types.py | 11 | CODE | |
| LOW | asyncpg/types.py | 11 | CODE | |
| LOW | asyncpg/types.py | 11 | CODE | |
| LOW | asyncpg/types.py | 11 | CODE | |
| LOW | asyncpg/types.py | 11 | CODE | |
| LOW | asyncpg/serverversion.py | 7 | CODE | |
| LOW | asyncpg/connect_utils.py | 7 | CODE | |
| LOW | asyncpg/introspection.py | 7 | CODE | |
| LOW | asyncpg/pool.py | 7 | CODE | |
| LOW | asyncpg/_asyncio_compat.py | 7 | CODE | |
| LOW | asyncpg/protocol/__init__.py | 9 | CODE | |
| LOW | asyncpg/protocol/__init__.py | 11 | CODE | |
| LOW | asyncpg/protocol/__init__.py | 11 | CODE | |
| LOW | asyncpg/protocol/__init__.py | 11 | CODE | |
| LOW | asyncpg/protocol/__init__.py | 12 | CODE | |
| LOW | asyncpg/exceptions/__init__.py | 4 | CODE | |
| LOW | tests/test__sourcecode.py | 21 | CODE | |
| LOW | tests/test__sourcecode.py | 44 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 160 | CODE | |
| LOW | tools/generate_exceptions.py | 39 | CODE | |
| LOW | tools/generate_exceptions.py | 68 | CODE | |
| LOW | asyncpg/transaction.py | 96 | CODE | |
| LOW | asyncpg/connection.py | 1165 | CODE | |
| LOW | asyncpg/cluster.py | 100 | CODE | |
| LOW | asyncpg/cluster.py | 508 | CODE | |
| LOW | asyncpg/cluster.py | 563 | CODE | |
| LOW | asyncpg/connect_utils.py | 100 | CODE | |
| LOW | asyncpg/connect_utils.py | 196 | CODE | |
| LOW | asyncpg/connect_utils.py | 282 | CODE | |
| LOW | asyncpg/connect_utils.py | 982 | CODE | |
| LOW | asyncpg/connect_utils.py | 1265 | CODE | |
| LOW | asyncpg/pool.py | 509 | CODE | |
| LOW | asyncpg/pool.py | 550 | CODE | |
| LOW | asyncpg/_testbase/fuzzer.py | 313 | CODE | |
| LOW | asyncpg/_testbase/fuzzer.py | 339 | CODE | |
| LOW | tests/test_transaction.py | 183 | CODE | |
| LOW | tests/test_transaction.py | 214 | CODE | |
| LOW | tests/test_connect.py | 1674 | CODE | |
| LOW | tests/test_connect.py | 1763 | CODE | |
| LOW | tests/test_connect.py | 2209 | CODE | |
| LOW | tests/test_connect.py | 2269 | CODE | |
| LOW | tests/test_connect.py | 2532 | CODE | |
| LOW | tests/test_connect.py | 2657 | CODE | |
| LOW | tests/test_timeout.py | 115 | CODE | |
| LOW | tests/test_timeout.py | 300 | CODE | |
| LOW | tests/test_timeout.py | 312 | CODE | |
| LOW | tests/test_prepare.py | 37 | CODE | |
| LOW | tests/test_codecs.py | 484 | CODE | |
| LOW | tests/test_codecs.py | 733 | CODE | |
| LOW | tests/test_codecs.py | 1533 | CODE | |
| LOW | tests/test_codecs.py | 1987 | CODE | |
| LOW | tests/test_pool.py | 878 | CODE | |
| LOW | tests/test_pool.py | 905 | CODE | |
| LOW | tests/test_pool.py | 952 | CODE | |
| LOW | tests/test_pool.py | 1133 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | asyncpg/connection.py | 892 | null=null, header=header, quote=quote, escape=escape, | CODE |
| HIGH | asyncpg/connection.py | 951 | null=null, header=header, quote=quote, escape=escape, | CODE |
| HIGH | asyncpg/connection.py | 1041 | null=null, header=header, quote=quote, escape=escape, | CODE |
| HIGH | asyncpg/pool.py | 837 | null=null, | STRING |
| HIGH | asyncpg/pool.py | 879 | null=null, | STRING |
| HIGH | asyncpg/pool.py | 929 | null=null, | STRING |
| HIGH | tests/test_codecs.py | 2003 | for val in ['"null"', '22', 'null', '[2]', '{"a": null}']: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | asyncpg/_version.py | 1 | # This file MUST NOT contain anything but the __version__ assignment. | COMMENT |
| LOW | asyncpg/prepared_stmt.py | 141 | query += ') ' | COMMENT |
| LOW | asyncpg/connection.py | 2081 | await self.reload_schema_state() | COMMENT |
| LOW | asyncpg/connection.py | 2541 | self._loop = loop | COMMENT |
| LOW | asyncpg/_asyncio_compat.py | 41 | # The special case for timeout <= 0 is for the following case: | COMMENT |
| LOW | asyncpg/protocol/record/pythoncapi_compat.h | 1 | // Header file providing new C API functions to old Python versions. | COMMENT |
| LOW | asyncpg/protocol/record/pythoncapi_compat.h | 21 | #include <Python.h> | COMMENT |
| LOW | asyncpg/protocol/record/pythoncapi_compat.h | 41 | # if (defined (__STDC_VERSION__) && __STDC_VERSION__ > 201710L) \ | COMMENT |
| LOW | asyncpg/protocol/record/pythoncapi_compat.h | 121 | # define Py_IsNone(x) Py_Is(x, Py_None) | COMMENT |
| LOW | asyncpg/protocol/record/pythoncapi_compat.h | 481 | COMMENT | |
| LOW | asyncpg/protocol/record/pythoncapi_compat.h | 541 | #if PY_VERSION_HEX < 0x030B00C1 && !defined(PYPY_VERSION) | COMMENT |
| LOW | asyncpg/protocol/record/pythoncapi_compat.h | 1221 | # define PyHASH_IMAG _PyHASH_IMAG | COMMENT |
| LOW | asyncpg/protocol/record/pythoncapi_compat.h | 1921 | #if PY_VERSION_HEX < 0x030C00A3 | COMMENT |
| LOW | asyncpg/protocol/record/pythoncapi_compat.h | 1941 | COMMENT | |
| LOW | tests/test_connect.py | 861 | # { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | asyncpg/prepared_stmt.py | 178 | CODE | |
| LOW | asyncpg/connection.py | 2116 | CODE | |
| LOW | asyncpg/connection.py | 829 | CODE | |
| LOW | asyncpg/connection.py | 901 | CODE | |
| LOW | asyncpg/connection.py | 963 | CODE | |
| LOW | asyncpg/connection.py | 1165 | CODE | |
| LOW | asyncpg/pool.py | 1201 | CODE | |
| LOW | asyncpg/pool.py | 800 | CODE | |
| LOW | asyncpg/pool.py | 845 | CODE | |
| LOW | asyncpg/pool.py | 887 | CODE | |
| LOW | asyncpg/_testbase/__init__.py | 270 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | asyncpg/connection.py | 1194 | def _copy_out(self, copy_stmt, output, timeout): | CODE |
| LOW | asyncpg/connection.py | 1700 | except Exception: | CODE |
| LOW | asyncpg/cluster.py | 44 | except Exception: | CODE |
| LOW | asyncpg/pool.py | 567 | except Exception: | CODE |
| LOW | asyncpg/_testbase/__init__.py | 204 | except Exception as ex: | CODE |
| LOW | tests/test_listeners.py | 339 | except Exception: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | asyncpg/pool.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | asyncpg/pool.py | 312 | def _setup_inactive_callback(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | asyncpg/compat.py | 27 | # We cannot simply use expanduser() as that returns the user's | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | asyncpg/connection.py | 2620 | # Check if the cache is bigger than max_size and trim it | STRING |