MCPcopy
hub / github.com/psycopg/psycopg / update_cython_oids

Function update_cython_oids

tools/update_oids.py:71–78  ·  view source on GitHub ↗
(conn: Connection)

Source from the content-addressed store, hash-verified

69
70
71def update_cython_oids(conn: Connection) -> None:
72 fn = ROOT / "psycopg_c/psycopg_c/_psycopg/oids.pxd"
73
74 lines = []
75 lines.extend(get_version_comment(conn))
76 lines.extend(get_cython_oids(conn))
77
78 update_file(fn, lines)
79
80
81def update_crdb_python_oids(conn: Connection) -> None:

Callers 1

mainFunction · 0.85

Calls 3

get_version_commentFunction · 0.85
get_cython_oidsFunction · 0.85
update_fileFunction · 0.70

Tested by

no test coverage detected