From 54a1374ecc4698ebf124812857ab53c3dca4d5fa Mon Sep 17 00:00:00 2001 From: William Mattern Date: Fri, 18 Nov 2022 16:28:56 -0500 Subject: [PATCH] code review style changes _ssm -> ssm --- tap_bing_ads/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tap_bing_ads/__init__.py b/tap_bing_ads/__init__.py index 42e9d13..3a01778 100644 --- a/tap_bing_ads/__init__.py +++ b/tap_bing_ads/__init__.py @@ -187,8 +187,8 @@ def save_refresh_token_to_ssm(oauth_tokens): import boto3 LOGGER.info(f"saving refresh token to SSM now at: {CONFIG['refresh_token_ssm_param']}") - _ssm = boto3.client("ssm") - put_param_output: dict = _ssm.put_parameter(Name=CONFIG['refresh_token_ssm_param'], Value=oauth_tokens.refresh_token, Overwrite=True) + ssm = boto3.client("ssm") + put_param_output: dict = ssm.put_parameter(Name=CONFIG['refresh_token_ssm_param'], Value=oauth_tokens.refresh_token, Overwrite=True) LOGGER.info(f"put_param_output: {str(put_param_output)}") except ImportError as e: