You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2022/05/04 14:45:00 UTC

[jira] [Comment Edited] (BEAM-14340) Consider providing a dynamic API for declaring batch input type

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

Brian Hulette edited comment on BEAM-14340 at 5/4/22 2:44 PM:
--------------------------------------------------------------

One simple solution would be to just let DoFn implementations override the functions that infer batchconverters from typehints


was (Author: bhulette):
One simple solution would be to just let DoFn implementations override the function that infer batchconverters from typehints

> Consider providing a dynamic API for declaring batch input type
> ---------------------------------------------------------------
>
>                 Key: BEAM-14340
>                 URL: https://issues.apache.org/jira/browse/BEAM-14340
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Brian Hulette
>            Priority: P2
>
> This might be necessary for some DoFns (e.g. RunInference uses a common DoFn for different ML frameworks that expect different types).



--
This message was sent by Atlassian Jira
(v8.20.7#820007)