You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Maximilian Michels (Jira)" <ji...@apache.org> on 2019/09/18 18:34:00 UTC

[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)