robertwb commented on a change in pull request #10822: [BEAM-7746] Minor typing 
updates / fixes
URL: https://github.com/apache/beam/pull/10822#discussion_r384669757
 
 

 ##########
 File path: sdks/python/apache_beam/transforms/external_java.py
 ##########
 @@ -37,18 +39,19 @@
 
 # Protect against environments where apitools library is not available.
 # pylint: disable=wrong-import-order, wrong-import-position
+apiclient = None  # type: Optional[types.ModuleType]
 
 Review comment:
   I prefer the previous format, where there was single assignment rather than 
re-assignment. Is there any benefit to typing this? 

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


With regards,
Apache Git Services

Reply via email to