Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
blnkoff authored Sep 28, 2024
1 parent 499b28f commit 46f5050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensei/_internal/tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def split_params(url: str, params: dict[str, Any]) -> tuple[dict[str, Any], dict

path_params = {}
for path_param_name in path_params_names:
if value := params.get(path_param_name):
if (value := params.get(path_param_name)) is not None:
path_params[path_param_name] = value
del params[path_param_name]

Expand Down

0 comments on commit 46f5050

Please sign in to comment.