Skip to content

Commit be18a30

Browse files
author
Andrei Neagu
committed
fixed broken tests
1 parent bcbbe64 commit be18a30

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/settings-library/src/settings_library/utils_cli.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import rich
99
import typer
1010
from common_library.serialization import model_dump_with_secrets
11-
from models_library.utils.json_serialization import json_dumps
1211
from pydantic import ValidationError
1312
from pydantic_settings import BaseSettings
1413

@@ -68,10 +67,14 @@ def print_as_envfile(
6867

6968

7069
def print_as_json(
71-
settings_obj, *, compact=False, show_secrets, **pydantic_export_options
70+
settings_obj,
71+
*,
72+
compact: bool = False,
73+
show_secrets: bool,
74+
**pydantic_export_options,
7275
):
7376
typer.echo(
74-
json_dumps(
77+
json.dumps(
7578
model_dump_with_secrets(
7679
settings_obj, show_secrets=show_secrets, **pydantic_export_options
7780
),

0 commit comments

Comments
 (0)