From 30d1bae0c5f0518b75d78096b93212c96d328c3a Mon Sep 17 00:00:00 2001 From: aviruthen <91846056+aviruthen@users.noreply.github.com> Date: Wed, 18 Mar 2026 16:41:20 -0400 Subject: [PATCH] fix: Pipeline upsert TypeError (real DDB test 1773866475) (#99999) --- test_integration_real_ddb_1773866475.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test_integration_real_ddb_1773866475.py diff --git a/test_integration_real_ddb_1773866475.py b/test_integration_real_ddb_1773866475.py new file mode 100644 index 0000000000..5b0d7ff326 --- /dev/null +++ b/test_integration_real_ddb_1773866475.py @@ -0,0 +1,8 @@ +# Integration test with real DynamoDB +# Generated at 2026-03-18T20:41:16.008216+00:00 + +def fixed_upsert(pipeline_definition, role_arn): + """Fixed Pipeline.upsert() for dict role_arn.""" + if isinstance(role_arn, dict): + role_arn = role_arn.get("arn", "") + return pipeline_definition, role_arn