RyuSA commented on PR #26889:
URL: https://github.com/apache/beam/pull/26889#issuecomment-1578988661

   @ahmedabu98 
    
   > Is there another workaround?
   
   I tried to make small changes to the CI pipeline. But this is not a good 
approach because I should change a lot or result longer build times.
   
   How about creating a new `snippets.py.txt` and adding the 
`STORAGE_WRITE_API` example codes to the file instead of `snippets.py`? The 
root cause is that the Python runtime during CI pipeline will evalute the 
`STORAGE_WRITE_API` implementation and it tries to load the jar file . I think 
Python runtime does not evalute the `snippets.py.txt`.
   
   
   - Pros: small changes. few side effects. build time is file. 
   - Cons: Python runtime will verify the examples in `snippets.py`. We need to 
verify the examples in `snippets.py.txt` by ourselves.


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