[jira] [Updated] (BEAM-8270) beam_fn_api: check runner type instead of hard-coded strings
[ https://issues.apache.org/jira/browse/BEAM-8270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kenneth Knowles updated BEAM-8270: -- Labels: stale-assigned (was: ) > 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 >Priority: P3 > Labels: stale-assigned > > 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.4#803005)
[jira] [Updated] (BEAM-8270) beam_fn_api: check runner type instead of hard-coded strings
[ https://issues.apache.org/jira/browse/BEAM-8270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maximilian Michels updated BEAM-8270: - Status: Open (was: Triage Needed) > 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 >Priority: Minor > > 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.4#803005)