removed old code and fixed some comments, for clarification
This commit is contained in:
@ -72,6 +72,7 @@ def get_random_bundles(total_form_items: int, total_bundles: int, bundles: list[
|
||||
else:
|
||||
return get_random_bundles(total_form_items, total_bundles - 1, bundles)
|
||||
|
||||
# legacy solution, keep because it may be usefull
|
||||
def valid_bundle_combinations(total_form_items: int, total_bundles: int, min_bundles: int, bundles: list[Bundle], selected_bundle_combinations: list[list[Bundle]] = []) -> list[list[Bundle]]:
|
||||
if total_bundles < min_bundles:
|
||||
return selected_bundle_combinations
|
||||
|
Reference in New Issue
Block a user