File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
terraform/account-wide-infrastructure/modules/glue/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def run(self):
5050 raise e
5151
5252 def get_last_run (self ):
53- self .logger .info (f "Retrieving last successful runtime." )
53+ self .logger .info ("Retrieving last successful runtime." )
5454 all_runs = self .glue .get_job_runs (JobName = self .job_name )
5555 if not all_runs ["JobRuns" ]:
5656 return None
@@ -75,7 +75,7 @@ def extract_dynamic(self):
7575 connection_options = {"paths" : [self .source_path ], "recurse" : True },
7676 format = "json" ,
7777 ).filter (
78- f = lambda x : (x ["host" ].endswith (name ))
78+ f = lambda x , n = name : (x ["host" ].endswith (n ))
7979 and (x ["time" ] > last_runtime )
8080 )
8181
@@ -84,7 +84,7 @@ def extract_dynamic(self):
8484 connection_type = "s3" ,
8585 connection_options = {"paths" : [self .source_path ], "recurse" : True },
8686 format = "json" ,
87- ).filter (f = lambda x : x ["host" ].endswith (name ))
87+ ).filter (f = lambda x , n = name : x ["host" ].endswith (n ))
8888
8989 return data
9090
You can’t perform that action at this time.
0 commit comments