This is an automated email from the ASF dual-hosted git repository.

vincbeck pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 723500b2776 Fix mypy type errors in DynamoDB example system test 
(#68849)
723500b2776 is described below

commit 723500b27768b0811a0452448202fbe7129c1b6b
Author: Taehoon Kim <[email protected]>
AuthorDate: Tue Jun 23 23:13:22 2026 +0900

    Fix mypy type errors in DynamoDB example system test (#68849)
---
 providers/amazon/tests/system/amazon/aws/example_dynamodb.py | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/providers/amazon/tests/system/amazon/aws/example_dynamodb.py 
b/providers/amazon/tests/system/amazon/aws/example_dynamodb.py
index 9b452d06083..440e580504a 100644
--- a/providers/amazon/tests/system/amazon/aws/example_dynamodb.py
+++ b/providers/amazon/tests/system/amazon/aws/example_dynamodb.py
@@ -40,9 +40,6 @@ except ImportError:
 
 from system.amazon.aws.utils import ENV_ID_KEY, SystemTestContextBuilder
 
-# TODO: FIXME The argument types here seems somewhat tricky to fix
-# mypy: disable-error-code="arg-type"
-
 DAG_ID = "example_dynamodb"
 sys_test_context_task = SystemTestContextBuilder().build()
 
@@ -88,8 +85,8 @@ with DAG(
     test_context = sys_test_context_task()
     env_id = test_context[ENV_ID_KEY]
     table_name = f"{env_id}-dynamodb-table"
-    create_table = create_table(table_name=table_name)
-    delete_table = delete_table(table_name)
+    create_table_task = create_table(table_name=table_name)
+    delete_table_task = delete_table(table_name)
 
     # [START howto_sensor_dynamodb_value]
     dynamodb_sensor = DynamoDBValueSensor(
@@ -120,12 +117,12 @@ with DAG(
     chain(
         # TEST SETUP
         test_context,
-        create_table,
+        create_table_task,
         # TEST BODY
         dynamodb_sensor,
         dynamodb_sensor_any_value,
         # TEST TEARDOWN
-        delete_table,
+        delete_table_task,
     )
 
     from tests_common.test_utils.watcher import watcher

Reply via email to