Skip to content

Commit a6e3fb2

Browse files
committed
setting request parameters to {} if None
1 parent 3804641 commit a6e3fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/hsfs/core/vector_server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def assemble_feature_vector(
539539
len(self.model_dependent_transformation_functions) > 0
540540
or len(self.on_demand_transformation_functions) > 0
541541
) and transformed:
542-
self.apply_transformation(result_dict, request_parameters)
542+
self.apply_transformation(result_dict, request_parameters or {})
543543

544544
_logger.debug("Assembled and transformed dict feature vector: %s", result_dict)
545545
if transformed:

0 commit comments

Comments
 (0)