Skip to content

Commit f4547a0

Browse files
authored
Update pydantic_settings/sources/providers/cli.py
1 parent 235769c commit f4547a0

File tree

1 file changed

+3
-1
lines changed
  • pydantic_settings/sources/providers

1 file changed

+3
-1
lines changed

pydantic_settings/sources/providers/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,9 @@ def _add_parser_submodels(
914914
added_args.append(arg_names[0])
915915
kwargs['nargs'] = '?'
916916
kwargs['const'] = '{}'
917-
kwargs['help'] = kwargs['help'] = CLI_SUPPRESS if is_model_suppressed else f'set {arg_names[0]} from JSON string (default: {{}})'
917+
kwargs['help'] = kwargs['help'] = (
918+
CLI_SUPPRESS if is_model_suppressed else f'set {arg_names[0]} from JSON string (default: {{}})'
919+
)
918920
model_group = self._add_group(parser, **model_group_kwargs)
919921
self._add_argument(model_group, *(f'{flag_prefix}{name}' for name in arg_names), **kwargs)
920922
for model in sub_models:

0 commit comments

Comments
 (0)