alex4adeo opened a new issue, #22411:
URL: https://github.com/apache/beam/issues/22411

   ### What would you like to happen?
   
   When using `.side_inputs(...)` in a ParDo with a DoFn using process_batch, 
we get : 
   
   `DoFn <__main__....> has unsupported process_batch method parameter 
SideInputParam`
   
   Why can't we get access to the sideinput from inside the process_batch 
function ?
   
   in sdks/python/apache_beam/runners/common.py
   in _validate_process_batch
   
     # Fallback to catch anything not explicitly supported
         if not d in (core.DoFn.WindowParam,
                      core.DoFn.TimestampParam,
                      core.DoFn.PaneInfoParam):
           raise ValueError(
               f"DoFn {self.do_fn!r} has unsupported process_batch "
               f"method parameter {d}")
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: sdk-py-core


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