teams-alerter 0.2.7__tar.gz → 0.2.8__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: teams-alerter
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary: Module pour envoyer des alertes Teams via Pub/Sub
5
5
  Author-email: Toki <t.bakotondrabe-ext@paris-turf.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "teams-alerter"
7
- version = "0.2.7"
7
+ version = "0.2.8"
8
8
  description = "Module pour envoyer des alertes Teams via Pub/Sub"
9
9
  authors = [{ name = "Toki", email = "t.bakotondrabe-ext@paris-turf.com" }]
10
10
  readme = "README.md"
@@ -137,7 +137,8 @@ class TeamsAlerter:
137
137
  elif self.utils["app_name"] == "health_check_check_partants_data":
138
138
  if is_json(self.payload["detail"]["message"]):
139
139
  error_info_list = json.loads(self.payload["detail"]["message"])
140
- table_data = [("ID COURSE", "CHAMP", "POSTGRES", "MONGO", "DIFFERENCE")]
140
+
141
+ table_data = []
141
142
  for error_info in error_info_list["data"]:
142
143
  table_data.append(
143
144
  (
@@ -169,7 +170,7 @@ class TeamsAlerter:
169
170
  ]
170
171
 
171
172
  self.payload["email_template_html"] = format_email_template(
172
- email_object, email_messages, [], self.utils["app_name"]
173
+ email_object, email_messages, table_data, self.utils["app_name"]
173
174
  )
174
175
  else:
175
176
  print(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: teams-alerter
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary: Module pour envoyer des alertes Teams via Pub/Sub
5
5
  Author-email: Toki <t.bakotondrabe-ext@paris-turf.com>
6
6
  License: MIT
File without changes
File without changes