dizzy.generators.linkml_runner¶
dizzy.generators.linkml_runner
¶
LinkML runner — shells out to gen-pydantic / gen-sqla / gen-rust / gen-typescript.
run_linkml_pydantic(def_file, output_file)
¶
Run gen-pydantic on def_file and write the result to output_file.
Source code in dizzy/src/dizzy/generators/linkml_runner.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 | |
run_linkml_sqla(def_file, output_file)
¶
Run gen-sqla on def_file and write the result to output_file.
Source code in dizzy/src/dizzy/generators/linkml_runner.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 | |
run_linkml_rust(def_file, output_file)
¶
Run gen-rust (file mode, serde) on def_file and write the result to output_file.
Source code in dizzy/src/dizzy/generators/linkml_runner.py
41 42 43 44 45 46 47 48 49 50 51 52 53 | |
run_linkml_typescript(def_file, output_file)
¶
Run gen-typescript on def_file and write the result to output_file.
Source code in dizzy/src/dizzy/generators/linkml_runner.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 | |