You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robert Bradshaw (Jira)" <ji...@apache.org> on 2019/11/12 21:51:00 UTC

[jira] [Commented] (BEAM-8629) WithTypeHints._get_or_create_type_hints may return a mutable copy of the class type hints.

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

Robert Bradshaw commented on BEAM-8629:
---------------------------------------

This can create incorrect (and hard to debug) behavior where repeated calls to with_{input,output}_types on an instance can influence the class itself. 

> WithTypeHints._get_or_create_type_hints may return a mutable copy of the class type hints.
> ------------------------------------------------------------------------------------------
>
>                 Key: BEAM-8629
>                 URL: https://issues.apache.org/jira/browse/BEAM-8629
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Robert Bradshaw
>            Assignee: Robert Bradshaw
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)