(file_path: str, patched_tree: ast.AST)
| 7 | patchright_version = os.environ.get('patchright_release') or os.environ.get('playwright_version') |
| 8 | |
| 9 | def patch_file(file_path: str, patched_tree: ast.AST) -> None: |
| 10 | with open(file_path, "w") as f: |
| 11 | f.write(ast.unparse(ast.fix_missing_locations(patched_tree))) |
| 12 | |
| 13 | # Adding _repo_version.py (Might not be intended but fixes the build) |
| 14 | with open("playwright-python/playwright/_repo_version.py", "w") as f: |
no outgoing calls
no test coverage detected