qontract-reconcile 0.10.1rc760__py3-none-any.whl → 0.10.1rc761__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.1rc760
3
+ Version: 0.10.1rc761
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
@@ -679,7 +679,7 @@ reconcile/utils/acs/notifiers.py,sha256=2n5blP9N1FdGLZuy3do9bpjd8NKg88kmLNNqhAGn
679
679
  reconcile/utils/acs/policies.py,sha256=_jAz6cv8KRYtDsXjGoJgNbD8_9PUa5LSwwVlpK4A_cQ,5505
680
680
  reconcile/utils/acs/rbac.py,sha256=ugsLM9Pb7FbUbdq85E3VzXGMaB9ZovXob7tdWCxwqZ8,8808
681
681
  reconcile/utils/aws_api_typed/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
682
- reconcile/utils/aws_api_typed/api.py,sha256=rGUh7-gc8AcjUFuLgQxKyPy1KGY7ffNe6zT1EDdurOM,8283
682
+ reconcile/utils/aws_api_typed/api.py,sha256=uqLNd_uNB11sQqLfcrqvXb1Z_K8GtX3K0FZ8zC_FK-A,8329
683
683
  reconcile/utils/aws_api_typed/iam.py,sha256=ka46H2-SzTCgy6EJYapKTzyZK9vR1bkfD0wF8bDdy1Q,2201
684
684
  reconcile/utils/aws_api_typed/organization.py,sha256=oXftcLVuSs9qej6efdssl38FvjeZaQC5R2Wj3NzxX4U,5529
685
685
  reconcile/utils/aws_api_typed/s3.py,sha256=J2uOTtEFgMyKT22pa4DbFnV7zfg575m2DeidQaeselM,1034
@@ -786,8 +786,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
786
786
  tools/test/test_qontract_cli.py,sha256=w2l4BHB09k1d-BGJ1jBUNCqDv7zkqYrMHojQXg-21kQ,4155
787
787
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
788
788
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
789
- qontract_reconcile-0.10.1rc760.dist-info/METADATA,sha256=4WvkJGFrn51U56sSukrjQU-JoWydSXzdq7hg8hzcsoQ,2382
790
- qontract_reconcile-0.10.1rc760.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
791
- qontract_reconcile-0.10.1rc760.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
792
- qontract_reconcile-0.10.1rc760.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
793
- qontract_reconcile-0.10.1rc760.dist-info/RECORD,,
789
+ qontract_reconcile-0.10.1rc761.dist-info/METADATA,sha256=GwWf5GcPchuffOX8BPrvZrVtQiE13PieAaupZVu9ucs,2382
790
+ qontract_reconcile-0.10.1rc761.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
791
+ qontract_reconcile-0.10.1rc761.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
792
+ qontract_reconcile-0.10.1rc761.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
793
+ qontract_reconcile-0.10.1rc761.dist-info/RECORD,,
@@ -22,7 +22,15 @@ from reconcile.utils.aws_api_typed.service_quotas import AWSApiServiceQuotas
22
22
  from reconcile.utils.aws_api_typed.sts import AWSApiSts
23
23
  from reconcile.utils.aws_api_typed.support import AWSApiSupport
24
24
 
25
- SubApi = TypeVar("SubApi")
25
+ SubApi = TypeVar(
26
+ "SubApi",
27
+ AWSApiIam,
28
+ AWSApiOrganizations,
29
+ AWSApiS3,
30
+ AWSApiServiceQuotas,
31
+ AWSApiSts,
32
+ AWSApiSupport,
33
+ )
26
34
 
27
35
 
28
36
  class AWSCredentials(ABC):
@@ -159,7 +167,7 @@ class AWSApi:
159
167
  match api_cls:
160
168
  case reconcile.utils.aws_api_typed.iam.AWSApiIam:
161
169
  client = self.session.client("iam")
162
- api = api_cls(client) # type: ignore # mypy bug, it doesn't recognize that api_cls is callable
170
+ api = api_cls(client)
163
171
  case reconcile.utils.aws_api_typed.organization.AWSApiOrganizations:
164
172
  client = self.session.client("organizations")
165
173
  api = api_cls(client)