argus-alm 0.12.9__py3-none-any.whl → 0.12.10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,14 +63,15 @@ class ResultTableMeta(type):
63
63
  cls_instance.columns = meta.Columns
64
64
  cls_instance.column_types = {column.name: column.type for column in cls_instance.columns}
65
65
  cls_instance.rows = []
66
- for col_name, rule in meta.ValidationRules.items():
66
+ validation_rules = getattr(meta, 'ValidationRules', {})
67
+ for col_name, rule in validation_rules.items():
67
68
  if col_name not in cls_instance.column_types:
68
69
  raise ValueError(f"ValidationRule column {col_name} not found in the table")
69
70
  if cls_instance.column_types[col_name] == ResultType.TEXT:
70
71
  raise ValueError(f"Validation rules don't apply to TEXT columns")
71
72
  if not isinstance(rule, ValidationRule):
72
73
  raise ValueError(f"Validation rule for column {col_name} is not of type ValidationRule")
73
- cls_instance.validation_rules = meta.ValidationRules
74
+ cls_instance.validation_rules = validation_rules
74
75
  return cls_instance
75
76
 
76
77
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: argus-alm
3
- Version: 0.12.9
3
+ Version: 0.12.10
4
4
  Summary: Argus
5
5
  Home-page: https://github.com/scylladb/argus
6
6
  License: Apache-2.0
@@ -76,7 +76,7 @@ argus/client/driver_matrix_tests/cli.py,sha256=PIK4IyA4qku7jCnJ8A0i59DeVl1jvMWYu
76
76
  argus/client/driver_matrix_tests/client.py,sha256=UPryBku2rg6IV2wKKDkclXHnH3r6EYwWdds65wLC-KU,2748
77
77
  argus/client/generic/cli.py,sha256=IJkgEZ5VOAeqp5SlLM13Y5m8e34Cqnyz8WkfeKoN7so,2208
78
78
  argus/client/generic/client.py,sha256=l4PDjDy65Mm2OI9ZLSnyd8_2i4Ei1Pp9yRt3bRX8s2Y,1114
79
- argus/client/generic_result.py,sha256=Fyo-ooFoO-w64BbXAlPgg0XOuuozTjv-51rAdsxecno,4197
79
+ argus/client/generic_result.py,sha256=QmEi-vrKeBsZto0SUk6Rwayy2UF3MP79WLSiuiiVXRI,4257
80
80
  argus/client/generic_result_old.py,sha256=Oi15Gu8WbXK_WruF0IU-Fokr-I1k8mzg1MpHbmpt50M,4662
81
81
  argus/client/sct/client.py,sha256=DtRA0Ra3ycUcedDYfZZW1jER0nc8vdYHaY6DT0te4x0,11341
82
82
  argus/client/sct/types.py,sha256=VLgVe7qPmJtCLqtPnuX8N8kMKZq-iY3SKz68nvU6nJ4,371
@@ -89,8 +89,8 @@ argus/db/db_types.py,sha256=iLbmrUaDzrBw0kDCnvW0FSZ9-kNc3uQY-fsbIPymV4E,3612
89
89
  argus/db/interface.py,sha256=HroyA1Yijz5cXLdYbxorHCEu0GH9VeMMqB36IHTlcew,17146
90
90
  argus/db/testrun.py,sha256=0YG7FIH5FLQeNlYULxC6rhhyru2rziSMe3qKtYzTBnc,26014
91
91
  argus/db/utils.py,sha256=YAWsuLjUScSgKgdaL5aF4Sgr13gqH29Mb5cLctX4V_w,337
92
- argus_alm-0.12.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
93
- argus_alm-0.12.9.dist-info/METADATA,sha256=i8u6MV6uYgTu74q8FWwy7eYWDaMmrMGrh0VNRF01-k8,3508
94
- argus_alm-0.12.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
95
- argus_alm-0.12.9.dist-info/entry_points.txt,sha256=pcYW8nxZuDaymxE8tn86K0dq8eEodUdiS0sSvwEQ_zU,137
96
- argus_alm-0.12.9.dist-info/RECORD,,
92
+ argus_alm-0.12.10.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
93
+ argus_alm-0.12.10.dist-info/METADATA,sha256=WqjK1TzO_ZH_ESzJpRneyXwshKBvHzRYkp4RTux5suw,3509
94
+ argus_alm-0.12.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
95
+ argus_alm-0.12.10.dist-info/entry_points.txt,sha256=pcYW8nxZuDaymxE8tn86K0dq8eEodUdiS0sSvwEQ_zU,137
96
+ argus_alm-0.12.10.dist-info/RECORD,,