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

jrmccluskey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 7916452e232 Fix internal test configuration for Dataflow client 
(#38792)
7916452e232 is described below

commit 7916452e232916b5ada4411cc23b3c87bf85044a
Author: Jack McCluskey <[email protected]>
AuthorDate: Wed Jun 3 13:33:52 2026 -0400

    Fix internal test configuration for Dataflow client (#38792)
---
 sdks/python/apache_beam/runners/dataflow/internal/apiclient.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py 
b/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py
index 531c076ffdf..fdf2e0ea03e 100644
--- a/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py
+++ b/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py
@@ -520,7 +520,7 @@ class DataflowApplicationClient(object):
     transport = None
     if self.google_cloud_options.dataflow_endpoint:
       endpoint = self.google_cloud_options.dataflow_endpoint
-      if 'localhost' in endpoint:
+      if 'localhost' in endpoint or 'sandbox' in endpoint:
         transport = 'rest'
       else:
         endpoint = re.sub('^https?://', '', endpoint)

Reply via email to