From e67aaf05ffdcc9875b61f1fe129b5e4c1d6605ba Mon Sep 17 00:00:00 2001 From: Radek Stankiewicz Date: Mon, 6 Oct 2025 15:19:24 +0200 Subject: [PATCH 1/2] fixture runs before setupclass --- .../transforms/enrichment_handlers/cloudsql_it_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdks/python/apache_beam/transforms/enrichment_handlers/cloudsql_it_test.py b/sdks/python/apache_beam/transforms/enrichment_handlers/cloudsql_it_test.py index 15ab0ec0a3a1..3780e8cbefc0 100644 --- a/sdks/python/apache_beam/transforms/enrichment_handlers/cloudsql_it_test.py +++ b/sdks/python/apache_beam/transforms/enrichment_handlers/cloudsql_it_test.py @@ -209,6 +209,7 @@ def create_table( class BaseTestSQLEnrichment(unittest.TestCase): + _cache_client_retries = 3 _table_data = [ { "id": 1, "name": "A", 'quantity': 2, 'distribution_center_id': 3 @@ -259,7 +260,6 @@ def setUpClass(cls): table_data=cls._table_data, metadata=cls._metadata) - cls._cache_client_retries = 3 @classmethod def get_columns(cls): From 57425c29fd0377930aa7bba1b957f0d4cb33ce60 Mon Sep 17 00:00:00 2001 From: Radek Stankiewicz Date: Mon, 6 Oct 2025 15:46:31 +0200 Subject: [PATCH 2/2] format --- .../transforms/enrichment_handlers/cloudsql_it_test.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sdks/python/apache_beam/transforms/enrichment_handlers/cloudsql_it_test.py b/sdks/python/apache_beam/transforms/enrichment_handlers/cloudsql_it_test.py index 3780e8cbefc0..b953b67841ac 100644 --- a/sdks/python/apache_beam/transforms/enrichment_handlers/cloudsql_it_test.py +++ b/sdks/python/apache_beam/transforms/enrichment_handlers/cloudsql_it_test.py @@ -260,7 +260,6 @@ def setUpClass(cls): table_data=cls._table_data, metadata=cls._metadata) - @classmethod def get_columns(cls): """Returns fresh column objects each time it's called."""