[ 
https://issues.apache.org/jira/browse/BEAM-8270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17123908#comment-17123908
 ] 

Kyle Weaver commented on BEAM-8270:
-----------------------------------

This was fixed in https://github.com/apache/beam/pull/9834.

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

Reply via email to