(conn: Connection)
| 79 | |
| 80 | |
| 81 | def update_crdb_python_oids(conn: Connection) -> None: |
| 82 | fn = ROOT / "psycopg/psycopg/crdb/_types.py" |
| 83 | |
| 84 | lines = [] |
| 85 | lines.extend(get_version_comment(conn)) |
| 86 | lines.extend(get_py_types(conn)) |
| 87 | |
| 88 | update_file(fn, lines) |
| 89 | sp.check_call(["black", "-q", fn]) |
| 90 | |
| 91 | |
| 92 | def get_version_comment(conn: Connection) -> list[str]: |
no test coverage detected