diff --git a/labelstower/getter.py b/labelstower/getter.py index 721402c74fb3bb430f00c2488835c6945a1aba55..4f170433dd833c5577cffad3af6b2a62ad1e6f09 100644 --- a/labelstower/getter.py +++ b/labelstower/getter.py @@ -20,7 +20,7 @@ def get_selected_elements(id_mandatory_labels: int, id_forbiden_labels: str, num >>> print(get_selected_elements("5","",1)) [{'id': 3, 'name': 'renault, 2000'}, {'id': 2, 'name': 'renault, bleu, 2000'}, {'id': 1, 'name': 'renault, rouge, 2000'}] >>> print(get_selected_elements("","5",0)) - [{'id': 4, 'name': 'peugeot, 2000'}] + [{'id': 4, 'name': 'peugeot, 2020'}] """ #query slightly vary if number_of_mandatory_labels > 0 or not if(number_of_mandatory_labels):