From b980b98fe8ac0c1bdbcaaffcdc9a81804a53bd25 Mon Sep 17 00:00:00 2001 From: Chuck Daniels Date: Wed, 6 Sep 2023 20:03:32 -0400 Subject: [PATCH] Convert method name to snake_case --- stack/hlsconstructs/landsat_incomplete_step_function.py | 2 +- stack/hlsconstructs/landsat_mgrs_partials_step_function.py | 2 +- stack/hlsconstructs/landsat_mgrs_step_function.py | 2 +- stack/hlsconstructs/landsat_step_function.py | 2 +- stack/hlsconstructs/sentinel_errors_step_function.py | 2 +- stack/hlsconstructs/sentinel_step_function.py | 2 +- stack/hlsconstructs/step_function.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/stack/hlsconstructs/landsat_incomplete_step_function.py b/stack/hlsconstructs/landsat_incomplete_step_function.py index 5647b77..4054c4e 100644 --- a/stack/hlsconstructs/landsat_incomplete_step_function.py +++ b/stack/hlsconstructs/landsat_incomplete_step_function.py @@ -83,4 +83,4 @@ def __init__( ) ) - self.addLambdasToRole(locals()) + self.add_lambdas_to_role(locals()) diff --git a/stack/hlsconstructs/landsat_mgrs_partials_step_function.py b/stack/hlsconstructs/landsat_mgrs_partials_step_function.py index 3652b4d..b2bdb56 100644 --- a/stack/hlsconstructs/landsat_mgrs_partials_step_function.py +++ b/stack/hlsconstructs/landsat_mgrs_partials_step_function.py @@ -136,4 +136,4 @@ def __init__( role_arn=self.steps_role.role_arn, ) - self.addLambdasToRole(locals()) + self.add_lambdas_to_role(locals()) diff --git a/stack/hlsconstructs/landsat_mgrs_step_function.py b/stack/hlsconstructs/landsat_mgrs_step_function.py index c198575..e15e015 100644 --- a/stack/hlsconstructs/landsat_mgrs_step_function.py +++ b/stack/hlsconstructs/landsat_mgrs_step_function.py @@ -134,4 +134,4 @@ def __init__( role_arn=self.steps_role.role_arn, ) - self.addLambdasToRole(locals()) + self.add_lambdas_to_role(locals()) diff --git a/stack/hlsconstructs/landsat_step_function.py b/stack/hlsconstructs/landsat_step_function.py index 47807fd..9b83d98 100644 --- a/stack/hlsconstructs/landsat_step_function.py +++ b/stack/hlsconstructs/landsat_step_function.py @@ -254,4 +254,4 @@ def __init__( ) ) - self.addLambdasToRole(locals()) + self.add_lambdas_to_role(locals()) diff --git a/stack/hlsconstructs/sentinel_errors_step_function.py b/stack/hlsconstructs/sentinel_errors_step_function.py index bfcb876..45bc392 100644 --- a/stack/hlsconstructs/sentinel_errors_step_function.py +++ b/stack/hlsconstructs/sentinel_errors_step_function.py @@ -128,4 +128,4 @@ def __init__( role_arn=self.steps_role.role_arn, ) - self.addLambdasToRole(locals()) + self.add_lambdas_to_role(locals()) diff --git a/stack/hlsconstructs/sentinel_step_function.py b/stack/hlsconstructs/sentinel_step_function.py index 38871e8..73149cf 100644 --- a/stack/hlsconstructs/sentinel_step_function.py +++ b/stack/hlsconstructs/sentinel_step_function.py @@ -153,4 +153,4 @@ def __init__( role_arn=self.steps_role.role_arn, ) - self.addLambdasToRole(locals()) + self.add_lambdas_to_role(locals()) diff --git a/stack/hlsconstructs/step_function.py b/stack/hlsconstructs/step_function.py index 05c815e..64ae6f9 100644 --- a/stack/hlsconstructs/step_function.py +++ b/stack/hlsconstructs/step_function.py @@ -18,7 +18,7 @@ def __init__( assumed_by=aws_iam.ServicePrincipal("states.amazonaws.com"), ) - def addLambdasToRole(self, arguments: Mapping[str, Any]): + def add_lambdas_to_role(self, arguments: Mapping[str, Any]): for arg in arguments.values(): if isinstance(arg, Lambda): self.steps_role.add_to_policy(arg.invoke_policy_statement)