MCPcopy
hub / github.com/psycopg/psycopg / main

Function main

tests/scripts/copytest.py:24–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23
24def main():
25 args = parse_cmdline()
26 logger.setLevel(args.loglevel)
27
28 if getattr(args, "async"):
29 asyncio.run(main_async(args))
30 else:
31 main_sync(args)
32
33
34def main_sync(args: Namespace) -> None:

Callers 1

copytest.pyFile · 0.70

Calls 4

main_asyncFunction · 0.85
main_syncFunction · 0.85
parse_cmdlineFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected