robertwb commented on a change in pull request #13004:
URL: https://github.com/apache/beam/pull/13004#discussion_r505698385



##########
File path: sdks/python/apache_beam/transforms/core.py
##########
@@ -2394,8 +2399,8 @@ class GroupBy(PTransform):
   """
   def __init__(
       self,
-      *fields,  # type: typing.Union[str, callable]
-      **kwargs  # type: typing.Union[str, callable]
+      *fields,  # type: typing.Union[str, typing.Callable]

Review comment:
       Oh, yes, of course. callable is a function returning whether its 
argument is callable. 




----------------------------------------------------------------
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:
[email protected]


Reply via email to