MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / _StatementCacheEntry

Class _StatementCacheEntry

asyncpg/connection.py:2524–2532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2522
2523
2524class _StatementCacheEntry:
2525
2526 __slots__ = ('_query', '_statement', '_cache', '_cleanup_cb')
2527
2528 def __init__(self, cache, query, statement):
2529 self._cache = cache
2530 self._query = query
2531 self._statement = statement
2532 self._cleanup_cb = None
2533
2534
2535class _StatementCache:

Callers 1

_new_entryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected