MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / main

Function main

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

Source from the content-addressed store, hash-verified

287
288
289def main(cmd: code_writer_cmd) -> None:
290 for path in [functions_py, test_functions_py]:
291 destination_path = path
292 tempfile = process_functions(destination_path, cmd)
293 cmd.run_zimports(tempfile)
294 cmd.run_black(tempfile)
295 cmd.write_output_file_from_tempfile(tempfile, destination_path)
296
297
298functions_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