MCPcopy
hub / github.com/psycopg/psycopg / unparse

Function unparse

tools/async_to_sync.py:536–539  ·  view source on GitHub ↗
(tree: ast.AST)

Source from the content-addressed store, hash-verified

534
535
536def unparse(tree: ast.AST) -> str:
537 rv: str = Unparser().visit(tree)
538 rv = _fix_comment_on_decorators(rv)
539 return rv
540
541
542def _fix_comment_on_decorators(source: str) -> str:

Callers 2

tree_to_strFunction · 0.85
_visit_type_stringMethod · 0.85

Calls 2

UnparserClass · 0.85

Tested by

no test coverage detected