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

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

                Author: ASF GitHub Bot
            Created on: 14/Sep/21 09:50
            Start Date: 14/Sep/21 09:50
    Worklog Time Spent: 10m 
      Work Description: hmc-cs-mdrissi commented on a change in pull request 
#15415:
URL: https://github.com/apache/beam/pull/15415#discussion_r708105188



##########
File path: sdks/python/apache_beam/utils/proto_utils.py
##########
@@ -40,13 +40,13 @@
 @overload
 def pack_Any(msg):
   # type: (message.Message) -> any_pb2.Any
-  pass
+  ...

Review comment:
       pass vs ... are similar but not same. pass has an inferred return type 
of None for some type checkers. Pyright will give you an error for using pass 
here. ... is typical way to mark overloads as stubs.




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 650465)
    Time Spent: 1h  (was: 50m)

> Support Python 3.9 in Apache Beam
> ---------------------------------
>
>                 Key: BEAM-12000
>                 URL: https://issues.apache.org/jira/browse/BEAM-12000
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Valentyn Tymofieiev
>            Priority: P2
>          Time Spent: 1h
>  Remaining Estimate: 0h
>




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

Reply via email to