hoang-shyftplan opened a new pull request, #39110:
URL: https://github.com/apache/beam/pull/39110

   ## Description
   - Fixes OpenSearch notebook examples that used bitwise OR for credential 
fallback.
   - Replaces `username | os.getenv(...)` and `password | os.getenv(...)` with 
`or` so fallback to environment variables works correctly.
   - Prevents `TypeError` when `username`/`password` are strings or `None` in:
     - `examples/notebooks/beam-ml/rag_usecase/opensearch_connector.py`
     - `examples/notebooks/beam-ml/rag_usecase/opensearch_enrichment.py`
   
   ## Testing
   Not run (not requested).
   


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