voici classement pourquoi j'ai cette erreur  ? [{'num_licence': 49866, 'victoires': {'V': 1, 'TD': Decimal('8'), 'TR': Decimal('15'), 'TD-TR': Decimal('-7')}, 'ratio_donner_recu': 0}, {'num_licence': 73096, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 113727, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 126524, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 166830, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('13'), 'TD-TR': Decimal('-3')}, 'ratio_donner_recu': 0}, {'num_licence': 177560, 'victoires': {'V': 3, 'TD': Decimal('15'), 'TR': Decimal('5'), 'TD-TR': Decimal('10')}, 'ratio_donner_recu': 0}, {'num_licence': 192891, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 232027, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 49866, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 73096, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}]
0
[{'num_licence': 49866, 'victoires': {'V': 1, 'TD': Decimal('8'), 'TR': Decimal('15'), 'TD-TR': Decimal('-7')}, 'ratio_donner_recu': 0}, {'num_licence': 73096, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 113727, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 126524, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 166830, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('13'), 'TD-TR': Decimal('-3')}, 'ratio_donner_recu': 0}, {'num_licence': 177560, 'victoires': {'V': 3, 'TD': Decimal('15'), 'TR': Decimal('5'), 'TD-TR': Decimal('10')}, 'ratio_donner_recu': 0}, {'num_licence': 192891, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 232027, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 49866, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 73096, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 113727, 'victoires': 0, 'ratio_donner_recu': 0}]
0
[{'num_licence': 49866, 'victoires': {'V': 1, 'TD': Decimal('8'), 'TR': Decimal('15'), 'TD-TR': Decimal('-7')}, 'ratio_donner_recu': 0}, {'num_licence': 73096, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 113727, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 126524, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 166830, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('13'), 'TD-TR': Decimal('-3')}, 'ratio_donner_recu': 0}, {'num_licence': 177560, 'victoires': {'V': 3, 'TD': Decimal('15'), 'TR': Decimal('5'), 'TD-TR': Decimal('10')}, 'ratio_donner_recu': 0}, {'num_licence': 192891, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 232027, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 49866, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 73096, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 113727, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 126524, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}]
0
[{'num_licence': 49866, 'victoires': {'V': 1, 'TD': Decimal('8'), 'TR': Decimal('15'), 'TD-TR': Decimal('-7')}, 'ratio_donner_recu': 0}, {'num_licence': 73096, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 113727, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 126524, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 166830, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('13'), 'TD-TR': Decimal('-3')}, 'ratio_donner_recu': 0}, {'num_licence': 177560, 'victoires': {'V': 3, 'TD': Decimal('15'), 'TR': Decimal('5'), 'TD-TR': Decimal('10')}, 'ratio_donner_recu': 0}, {'num_licence': 192891, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 232027, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 49866, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 73096, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 113727, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 126524, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 166830, 'victoires': 0, 'ratio_donner_recu': 0}]    
0
[{'num_licence': 49866, 'victoires': {'V': 1, 'TD': Decimal('8'), 'TR': Decimal('15'), 'TD-TR': Decimal('-7')}, 'ratio_donner_recu': 0}, {'num_licence': 73096, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 113727, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 126524, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 166830, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('13'), 'TD-TR': Decimal('-3')}, 'ratio_donner_recu': 0}, {'num_licence': 177560, 'victoires': {'V': 3, 'TD': Decimal('15'), 'TR': Decimal('5'), 'TD-TR': Decimal('10')}, 'ratio_donner_recu': 0}, {'num_licence': 192891, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 232027, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 49866, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 73096, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 113727, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 126524, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 166830, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 177560, 'victoires': 0, 'ratio_donner_recu': 0}]
0
[{'num_licence': 49866, 'victoires': {'V': 1, 'TD': Decimal('8'), 'TR': Decimal('15'), 'TD-TR': Decimal('-7')}, 'ratio_donner_recu': 0}, {'num_licence': 73096, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 113727, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 126524, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 166830, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('13'), 'TD-TR': Decimal('-3')}, 'ratio_donner_recu': 0}, {'num_licence': 177560, 'victoires': {'V': 3, 'TD': Decimal('15'), 'TR': Decimal('5'), 'TD-TR': Decimal('10')}, 'ratio_donner_recu': 0}, {'num_licence': 192891, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 232027, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 49866, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 73096, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 113727, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 126524, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}, {'num_licence': 166830, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 177560, 'victoires': 0, 'ratio_donner_recu': 0}, {'num_licence': 192891, 'victoires': {'V': 2, 'TD': Decimal('10'), 'TR': Decimal('10'), 'TD-TR': Decimal('0')}, 'ratio_donner_recu': 0}]
0TypeError

TypeError: '<' not supported between instances of 'int' and 'dict'
Traceback (most recent call last)

    File "C:\Users\alexa\AppData\Roaming\Python\Python310\site-packages\flask\app.py", line 1478, in __call__

    return self.wsgi_app(environ, start_response)

    File "C:\Users\alexa\AppData\Roaming\Python\Python310\site-packages\flask\app.py", line 1458, in wsgi_app

    response = self.handle_exception(e)

    File "C:\Users\alexa\AppData\Roaming\Python\Python310\site-packages\flask\app.py", line 1455, in wsgi_app

    response = self.full_dispatch_request()

    File "C:\Users\alexa\AppData\Roaming\Python\Python310\site-packages\flask\app.py", line 869, in full_dispatch_request

    rv = self.handle_user_exception(e)

    File "C:\Users\alexa\AppData\Roaming\Python\Python310\site-packages\flask\app.py", line 867, in full_dispatch_request

    rv = self.dispatch_request()

    File "C:\Users\alexa\AppData\Roaming\Python\Python310\site-packages\flask\app.py", line 852, in dispatch_request

    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)

    File "C:\Users\alexa\Desktop\COMP_ESCRIME\appli\views.py", line 995, in classement_provisioire

    etablir_classement_poule(id_comp)

    File "C:\Users\alexa\Desktop\COMP_ESCRIME\appli\models.py", line 867, in etablir_classement_poule

     

    TypeError: '<' not supported between instances of 'int' and 'dict'