File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414from log import get_logger , setup_logging
1515from runners .quota_scheduler import start_quota_scheduler
1616from runners .uvicorn import start_uvicorn
17- from utils import models_dumper , schema_dumper
17+ from utils import models_dumper , config_dumper
1818
1919setup_logging ()
2020logger = get_logger (__name__ )
@@ -195,7 +195,7 @@ def main() -> None:
195195 # into a JSON file that is compatible with OpenAPI schema specification
196196 if args .dump_schema :
197197 try :
198- schema_dumper .dump_schema ("schema.json" )
198+ config_dumper .dump_schema ("schema.json" )
199199 logger .info ("Configuration schema dumped to schema.json" )
200200 except Exception as e :
201201 logger .error ("Failed to dump configuration schema: %s" , e )
File renamed without changes.
Original file line number Diff line number Diff line change 1- """Unit tests for utils/schema_dumper module."""
1+ """Unit tests for utils/config_dumper module."""
22
33from json import load
44from pathlib import Path
55
6- from utils .schema_dumper import dump_schema
6+ from utils .config_dumper import dump_schema
77
88
99def test_dump_schema (tmpdir : Path ) -> None :
You can’t perform that action at this time.
0 commit comments