Skip to content

Commit

Permalink
modified validate_input ()
Browse files Browse the repository at this point in the history
  • Loading branch information
Abodi-Massarwa committed Jul 22, 2024
1 parent 49c8877 commit c685be0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ def check_required_keys(required_keys):

elif function_name == 'helper_create_agent_item_bipartite_graph':
check_required_keys(['agents', 'items', 'valuation_func'])
validate_capacities(kwargs['agents'])
validate_duplicate(kwargs['agents'])
validate_duplicate(kwargs['items'])
if not callable(kwargs['valuation_func']):
raise ValueError("valuation_func must be callable.")
Expand Down

0 comments on commit c685be0

Please sign in to comment.