Skip to content

Commit 4a22fe6

Browse files
[pre-commit.ci] Add auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f69c810 commit 4a22fe6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

vec_inf/client/_helper.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,9 @@ def _get_launch_params(
555555
f"Mismatch found for {arg}: {params[arg]} != {params['models'][model_name][arg]}, check your configuration"
556556
)
557557
# Check for required fields without default vals, will raise an error if missing
558-
utils.check_required_fields({**params["models"][model_name], **common_params})
558+
utils.check_required_fields(
559+
{**params["models"][model_name], **common_params}
560+
)
559561

560562
return params
561563

vec_inf/client/_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,6 @@ def check_required_fields(params: dict[str, Any]) -> None:
444444
params : dict[str, Any]
445445
Dictionary of parameters to check.
446446
"""
447-
448447
for arg in REQUIRED_ARGS:
449448
if not params.get(arg):
450449
default_value = os.getenv(REQUIRED_ARGS[arg])

0 commit comments

Comments
 (0)