You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (Jira)" <ji...@apache.org> on 2019/09/17 21:21:00 UTC
[jira] [Created] (BEAM-8270) beam_fn_api: check runner type instead
of hard-coded strings
Kyle Weaver created BEAM-8270:
---------------------------------
Summary: beam_fn_api: check runner type instead of hard-coded strings
Key: BEAM-8270
URL: https://issues.apache.org/jira/browse/BEAM-8270
Project: Beam
Issue Type: Improvement
Components: sdk-py-core
Reporter: Kyle Weaver
Assignee: Kyle Weaver
We automatically add the beam_fn_api option, but right now this is done by checking a hard-coded list of strings. It would be better to instead check the inheritance of the actual runner instance itself, rather than the option string.
[https://github.com/apache/beam/blob/f0aa877b8703eed4143957b4cd212aa026238a6e/sdks/python/apache_beam/pipeline.py#L160]
--
This message was sent by Atlassian Jira
(v8.3.2#803003)