Skip to content

Commit

Permalink
fixes issue sodafoundation#886
Browse files Browse the repository at this point in the history
Removed un-used param _sort_key from delfin/db/sqlalchemy/api.py
  • Loading branch information
UtkarshShah0 authored Apr 26, 2022
1 parent 795934f commit e9d57e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion delfin/db/sqlalchemy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2969,7 +2969,7 @@ def process_sort_params(sort_keys, sort_dirs, default_keys=None,
raise exception.InvalidInput(msg)
result_dirs.append(sort_dir)
else:
result_dirs = [default_dir_value for _sort_key in result_keys]
result_dirs = [default_dir_value for _ in result_keys]

# Ensure that the key and direction length match
while len(result_dirs) < len(result_keys):
Expand Down

0 comments on commit e9d57e6

Please sign in to comment.