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

Function flt

asyncpg/_testbase/__init__.py:32–34  ·  view source on GitHub ↗
(log_record)

Source from the content-addressed store, hash-verified

30@contextlib.contextmanager
31def silence_asyncio_long_exec_warning():
32 def flt(log_record):
33 msg = log_record.getMessage()
34 return not msg.startswith('Executing ')
35
36 logger = logging.getLogger('asyncio')
37 logger.addFilter(flt)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected