Skip to content

Commit 221249e

Browse files
authored
Fixed logging issue (#30703)
Co-authored-by: Mark Richman <mrkrchm@amazon.com>
1 parent c4f0d9f commit 221249e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

airflow/providers/amazon/aws/sensors/dynamodb.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ def poke(self, context: Context) -> bool:
8484
try:
8585
self.log.info("Response: %s", response)
8686
self.log.info("Want: %s = %s", self.attribute_name, self.attribute_value)
87-
self.log.info("Got: {response['Item'][self.attribute_name]} = %s", self.attribute_value)
87+
self.log.info(
88+
"Got: {response['Item'][self.attribute_name]} = %s", response["Item"][self.attribute_name]
89+
)
8890
return response["Item"][self.attribute_name] == self.attribute_value
8991
except KeyError:
9092
return False

0 commit comments

Comments
 (0)