Skip to content

Commit 0aacf69

Browse files
author
ievgeniia ieromenko
committed
security lake linting fixes
1 parent 4086393 commit 0aacf69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aws_sra_examples/solutions/security_lake/security_lake_org/lambda/src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
try:
4646
MANAGEMENT_ACCOUNT_SESSION = boto3.Session()
47-
PARTITION: str = MANAGEMENT_ACCOUNT_SESSION.get_partition_for_region(HOME_REGION) # type: ignore
47+
PARTITION: str = MANAGEMENT_ACCOUNT_SESSION.get_partition_for_region(HOME_REGION)
4848
CFN_CLIENT = MANAGEMENT_ACCOUNT_SESSION.client("cloudformation")
4949
except Exception:
5050
LOGGER.exception(UNEXPECTED)

aws_sra_examples/solutions/security_lake/security_lake_org/lambda/src/security_lake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def register_delegated_admin(admin_account_id: str, region: str, service_princip
104104
region: AWS Region
105105
service_principal: AWS Service Principal
106106
"""
107-
sl_client: SecurityLakeClient = MANAGEMENT_ACCOUNT_SESSION.client("securitylake", region, config=BOTO3_CONFIG) # type: ignore
107+
sl_client: SecurityLakeClient = MANAGEMENT_ACCOUNT_SESSION.client("securitylake", region, config=BOTO3_CONFIG)
108108
if not check_organization_admin_enabled(admin_account_id, service_principal):
109109
LOGGER.info(f"Registering delegated administrator ({admin_account_id})...")
110110
sl_client.register_data_lake_delegated_administrator(accountId=admin_account_id)

0 commit comments

Comments
 (0)