qontract-reconcile 0.10.1rc760__py3-none-any.whl → 0.10.1rc762__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.1rc762
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
@@ -253,7 +253,7 @@ reconcile/gql_definitions/dynatrace_token_provider/dynatrace_bootstrap_tokens.py
253
253
  reconcile/gql_definitions/external_resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
254
254
  reconcile/gql_definitions/external_resources/external_resources_modules.py,sha256=2VIb3hC2MRNhYDZ1al4PvudT2oSfd3fPGpzv4CEJNiw,2341
255
255
  reconcile/gql_definitions/external_resources/external_resources_namespaces.py,sha256=UyOAUY1rROenjTz6y-uSEFjrEwhh-lPsIQPbi6EQLFg,40915
256
- reconcile/gql_definitions/external_resources/external_resources_settings.py,sha256=O6zPVHjQX4RY6lcLx5uNiExfx3nO3aoyucmKxhXsL60,2342
256
+ reconcile/gql_definitions/external_resources/external_resources_settings.py,sha256=Gnuy7dqikXHtDjh7P2nkPux9uCDf-a2t4WINMUyiXkc,2240
257
257
  reconcile/gql_definitions/fragments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
258
258
  reconcile/gql_definitions/fragments/aus_organization.py,sha256=ARI87YAbC0VjFri9eVGYrRPBc4s0kWsa25RR8FFoq7E,4433
259
259
  reconcile/gql_definitions/fragments/aws_account_common.py,sha256=d_FwpS_dY8o8DCLa3NERs93FVxQLiDUIPm5tGNac-iw,2320
@@ -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.1rc762.dist-info/METADATA,sha256=f9qo3Mn92aMIw-oLh-t9rMXsdX6CkqcfJOP14BamQ3M,2382
790
+ qontract_reconcile-0.10.1rc762.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
791
+ qontract_reconcile-0.10.1rc762.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
792
+ qontract_reconcile-0.10.1rc762.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
793
+ qontract_reconcile-0.10.1rc762.dist-info/RECORD,,
@@ -22,7 +22,6 @@ DEFINITION = """
22
22
  query ExternalResourcesSettings {
23
23
  settings: external_resources_settings_v1 {
24
24
  state_dynamodb_table
25
- state_dynamodb_index
26
25
  state_dynamodb_region
27
26
  tf_state_bucket
28
27
  tf_state_region
@@ -40,7 +39,6 @@ class ConfiguredBaseModel(BaseModel):
40
39
 
41
40
  class ExternalResourcesSettingsV1(ConfiguredBaseModel):
42
41
  state_dynamodb_table: str = Field(..., alias="state_dynamodb_table")
43
- state_dynamodb_index: str = Field(..., alias="state_dynamodb_index")
44
42
  state_dynamodb_region: str = Field(..., alias="state_dynamodb_region")
45
43
  tf_state_bucket: Optional[str] = Field(..., alias="tf_state_bucket")
46
44
  tf_state_region: Optional[str] = Field(..., alias="tf_state_region")
@@ -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)