Skip to content

Commit ea3f12c

Browse files
committed
Renamed to config dumper
1 parent e0f57d9 commit ea3f12c

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/lightspeed_stack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from log import get_logger, setup_logging
1515
from runners.quota_scheduler import start_quota_scheduler
1616
from runners.uvicorn import start_uvicorn
17-
from utils import models_dumper, schema_dumper
17+
from utils import models_dumper, config_dumper
1818

1919
setup_logging()
2020
logger = 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)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
"""Unit tests for utils/schema_dumper module."""
1+
"""Unit tests for utils/config_dumper module."""
22

33
from json import load
44
from pathlib import Path
55

6-
from utils.schema_dumper import dump_schema
6+
from utils.config_dumper import dump_schema
77

88

99
def test_dump_schema(tmpdir: Path) -> None:

0 commit comments

Comments
 (0)