tvalentyn commented on PR #27646:
URL: https://github.com/apache/beam/pull/27646#issuecomment-1652592748

   Upon closer look, it seems that current design would still be prone to 
similar gaps.
   
   > Also would appreciate if anybody can suggest something better than hasattr 
check.
   
   I wonder if overriding `AbstractDoFnWrapper__getattr__` would help:
   
   ```
   def __getattr__(self, attr):
     return getattr(self.dofn, attr)
   ```  


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

Reply via email to