(tree: ast.AST, filepath: Path | None = None)
| 196 | |
| 197 | |
| 198 | def async_to_sync(tree: ast.AST, filepath: Path | None = None) -> ast.AST: |
| 199 | tree = BlanksInserter().visit(tree) |
| 200 | tree = RenameAsyncToSync().visit(tree) |
| 201 | tree = AsyncToSync().visit(tree) |
| 202 | return tree |
| 203 | |
| 204 | |
| 205 | def tree_to_str(tree: ast.AST, filepath: Path) -> str: |
no test coverage detected