Skip to content

Commit

Permalink
Convert method name to snake_case
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckwondo committed Sep 7, 2023
1 parent 96d2c6f commit b980b98
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion stack/hlsconstructs/landsat_incomplete_step_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ def __init__(
)
)

self.addLambdasToRole(locals())
self.add_lambdas_to_role(locals())
2 changes: 1 addition & 1 deletion stack/hlsconstructs/landsat_mgrs_partials_step_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ def __init__(
role_arn=self.steps_role.role_arn,
)

self.addLambdasToRole(locals())
self.add_lambdas_to_role(locals())
2 changes: 1 addition & 1 deletion stack/hlsconstructs/landsat_mgrs_step_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ def __init__(
role_arn=self.steps_role.role_arn,
)

self.addLambdasToRole(locals())
self.add_lambdas_to_role(locals())
2 changes: 1 addition & 1 deletion stack/hlsconstructs/landsat_step_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,4 @@ def __init__(
)
)

self.addLambdasToRole(locals())
self.add_lambdas_to_role(locals())
2 changes: 1 addition & 1 deletion stack/hlsconstructs/sentinel_errors_step_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ def __init__(
role_arn=self.steps_role.role_arn,
)

self.addLambdasToRole(locals())
self.add_lambdas_to_role(locals())
2 changes: 1 addition & 1 deletion stack/hlsconstructs/sentinel_step_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,4 @@ def __init__(
role_arn=self.steps_role.role_arn,
)

self.addLambdasToRole(locals())
self.add_lambdas_to_role(locals())
2 changes: 1 addition & 1 deletion stack/hlsconstructs/step_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit b980b98

Please sign in to comment.