Files
Murat Aslan fd236f806a fix: update outdated examples in openbb-apachebeam (#7286)
- examples/openbb-apachebeam/README.md: Fix test-run command to point to example tests directory, fix typos and grammar
- examples/openbb-apachebeam/requirements.txt: Add core 'openbb' dependency required by example
- examples/openbb-apachebeam/tests/test_obb_pipeline.py: Fix code formatting, fix 'Print nes' typo to 'Print news'

Fixes #7181

Co-authored-by: Murat Aslan <murataslan1@users.noreply.github.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-01-28 00:08:10 +00:00
..

OBB Dataflow Sample

This is a sample on how to invoke OBB fetchers in an Apache Beam pipeline. (GCP Dataflow is built on Apache Beam)

Pre-requisites

  • You need to create a Conda environment (or a virtual env) using requirements.txt in this directory
  • The script exercises three OBB endpoints, all of which require no credentials
  • Run the test from this directory: cd examples/openbb-apachebeam python -m unittest tests/test_obb_pipeline.py

The script will run a pipeline consisting of three tasks which will fetch an AAPL quote, profile, and news. This is just a very basic sample which can be used as a building block to create more complex scenarios