MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / main

Function main

tools/generate_sql_functions.py:286–292  ·  view source on GitHub ↗
(cmd: code_writer_cmd)

Source from the content-addressed store, hash-verified

284
285
286def main(cmd: code_writer_cmd) -> None:
287 for path in [functions_py, test_functions_py]:
288 destination_path = path
289 tempfile = process_functions(destination_path, cmd)
290 cmd.run_zimports(tempfile)
291 cmd.run_black(tempfile)
292 cmd.write_output_file_from_tempfile(tempfile, destination_path)
293
294
295functions_py = "lib/sqlalchemy/sql/functions.py"

Callers 1

Calls 4

process_functionsFunction · 0.85
run_zimportsMethod · 0.80
run_blackMethod · 0.80

Tested by

no test coverage detected