qontract-reconcile 0.10.1rc634__py3-none-any.whl → 0.10.1rc636__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qontract-reconcile
3
- Version: 0.10.1rc634
3
+ Version: 0.10.1rc636
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Home-page: https://github.com/app-sre/qontract-reconcile
6
6
  Author: Red Hat App-SRE Team
@@ -367,7 +367,7 @@ reconcile/rhidp/sso_client/metrics.py,sha256=Tq7tSOsqL3XdcPUdozxqzSPIodUeOV87UCT
367
367
  reconcile/saas_auto_promotions_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
368
368
  reconcile/saas_auto_promotions_manager/integration.py,sha256=h1RS-rE8_UaVoLV4c9NyfNfjzvHLQcEVwVN_2UxT7T8,6843
369
369
  reconcile/saas_auto_promotions_manager/publisher.py,sha256=N4VSKLkMtN9Bx1yxAETC-JZf-vgZZLRYzgercFkpBto,2507
370
- reconcile/saas_auto_promotions_manager/s3_exporter.py,sha256=taIMi3G3NBcXRumXsZkOjYSrFGjT4FEKLZzvq5S09m4,2585
370
+ reconcile/saas_auto_promotions_manager/s3_exporter.py,sha256=gSqfJPBT-Cq5f5B5AweA5yBFywMvOp2rFCIFvHZ-ma4,2533
371
371
  reconcile/saas_auto_promotions_manager/subscriber.py,sha256=cLhPlkT71J2LIice3SLmH1WpsqzV46gd0peMxrnqyRw,7452
372
372
  reconcile/saas_auto_promotions_manager/merge_request_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
373
373
  reconcile/saas_auto_promotions_manager/merge_request_manager/merge_request.py,sha256=BeAJWLow7b4HQyZ9zz398sQkPeIz8chpMkCts2NU27c,1282
@@ -715,8 +715,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
715
715
  tools/test/test_qontract_cli.py,sha256=OvalpVRfY4pNmpMaWHHYqBjV68b1eGQjX8SCyTAXb1w,3501
716
716
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
717
717
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
718
- qontract_reconcile-0.10.1rc634.dist-info/METADATA,sha256=vYQHJ317KXtyWXygt9jm5yyvXctiQdZ08Kcz8xWIwVo,2382
719
- qontract_reconcile-0.10.1rc634.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
720
- qontract_reconcile-0.10.1rc634.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
721
- qontract_reconcile-0.10.1rc634.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
722
- qontract_reconcile-0.10.1rc634.dist-info/RECORD,,
718
+ qontract_reconcile-0.10.1rc636.dist-info/METADATA,sha256=RTTSuHpksQIoOUZcxhgJfYoG9eSICpej7bB6Uex9imY,2382
719
+ qontract_reconcile-0.10.1rc636.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
720
+ qontract_reconcile-0.10.1rc636.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
721
+ qontract_reconcile-0.10.1rc636.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
722
+ qontract_reconcile-0.10.1rc636.dist-info/RECORD,,
@@ -1,6 +1,5 @@
1
1
  from __future__ import annotations
2
2
 
3
- import json
4
3
  from collections.abc import Iterable
5
4
  from dataclasses import dataclass
6
5
  from enum import Enum
@@ -69,10 +68,9 @@ class S3Exporter:
69
68
  "deployment_state": publisher_data.deployment_state.value,
70
69
  }
71
70
 
72
- json_str = json.dumps(data)
73
71
  if not self._dry_run:
74
72
  self._state.add(
75
73
  key="publisher-data.json",
76
- value=json_str,
74
+ value=data,
77
75
  force=True,
78
76
  )