You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/01/15 19:56:00 UTC

[jira] [Work logged] (BEAM-8525) trivial_inference: slice of Const[List[T]] returns T instead of List[T]

     [ https://issues.apache.org/jira/browse/BEAM-8525?focusedWorklogId=372534&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-372534 ]

ASF GitHub Bot logged work on BEAM-8525:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Jan/20 19:55
            Start Date: 15/Jan/20 19:55
    Worklog Time Spent: 10m 
      Work Description: udim commented on pull request #9944: [BEAM-8525] Support Const base in binary_subscr
URL: https://github.com/apache/beam/pull/9944
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 372534)
    Time Spent: 40m  (was: 0.5h)

> trivial_inference: slice of Const[List[T]] returns T instead of List[T]
> -----------------------------------------------------------------------
>
>                 Key: BEAM-8525
>                 URL: https://issues.apache.org/jira/browse/BEAM-8525
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Udi Meiri
>            Assignee: Udi Meiri
>            Priority: Major
>             Fix For: 2.19.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Bug is in binary_subscr.
> Example (in trivial_inference_test.py):
> {code}
>   def testGetItemSlice(self):
>     test_list = ['a', 'b']
>     self.assertReturnType(typehints.List[str], lambda: test_list[:], [])
> {code}



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