damccorm commented on code in PR #33613:
URL: https://github.com/apache/beam/pull/33613#discussion_r1918599797


##########
sdks/python/apache_beam/yaml/integration_tests.py:
##########
@@ -124,7 +124,10 @@ def provider_sets(spec, require_available=False):
             for p in spec['pipelines']))
 
   def filter_to_available(t, providers):
-    if require_available:
+    if t == 'LogForTesting':
+      # Don't fan out to all the (many) possibilities for this one...
+      return [p for p in providers if isinstance(p, 
yaml_provider.InlineProvider)]

Review Comment:
   Maybe we could do something like `[p for p in providers if isinstance(p, 
yaml_provider.InlineProvider)] + [p for p in providers if not isinstance(p, 
yaml_provider.InlineProvider)][:1]` to get both an inline and non-inline 
provider?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to