Projet

Général

Profil

Bug #65370

TypeError: 'type' object is not subscriptable

Ajouté par Sentry Io il y a presque 2 ans. Mis à jour il y a presque 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
17 mai 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/58566/

TypeError: 'type' object is not subscriptable
(10 additional frame(s) were not displayed)
...
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "chrono/pricing/models.py", line 316, in <module>
    @dataclasses.dataclass
  File "chrono/pricing/models.py", line 319, in PricingMatrixRow
    cells: list[PricingMatrixCell]

Fichiers

Révisions associées

Révision 53b4072a (diff)
Ajouté par Lauréline Guérin il y a presque 2 ans

pricing: fix dataclass use with List & py37 (#65370)

Historique

#1

Mis à jour par Lauréline Guérin il y a presque 2 ans

  • Projet changé de Suivi des traces à Chrono

env en python 3.7
jenkins a testé en 3.9

#2

Mis à jour par Lauréline Guérin il y a presque 2 ans

#3

Mis à jour par Frédéric Péters il y a presque 2 ans

  • Statut changé de Solution proposée à Solution validée
#4

Mis à jour par Lauréline Guérin il y a presque 2 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 53b4072ab97afc07b3fb240898b7029693bf881c
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Tue May 17 18:43:23 2022 +0200

    pricing: fix dataclass use with List & py37 (#65370)
#5

Mis à jour par Transition automatique il y a presque 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#6

Mis à jour par Transition automatique il y a presque 2 ans

Automatic expiration

Formats disponibles : Atom PDF