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

Robert Bradshaw commented on BEAM-5322:
---------------------------------------

Type inference is already best-effort; here returning Any would result in less 
type checking but the resulting pipeline should execute fine. (It doesn't have 
to be explicitly disabled, though we may want to skip some of the tests for 
now). Longer-term we'll want to be hooking into the existing Python 3 typing 
modules (and possibly even borrow a third-party type inferencer), so it's 
probably not worth investing too much effort here (let alone blocking Python 3 
readiness on it). 

Note also that the FastPrimitivesCoder made type inference significantly less 
critical for performance. 

> Finish Python 3 porting for typehints module
> --------------------------------------------
>
>                 Key: BEAM-5322
>                 URL: https://issues.apache.org/jira/browse/BEAM-5322
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Robbe
>            Assignee: Simon
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to