apache_beam.yaml.examples.testing.input_data module
- apache_beam.yaml.examples.testing.input_data.word_count_jinja_template_data(test_name: str) list[str] [source]
- apache_beam.yaml.examples.testing.input_data.pubsub_messages_data()[source]
Provides a list of PubsubMessage objects for testing.
- apache_beam.yaml.examples.testing.input_data.pubsub_taxi_ride_events_data()[source]
Provides a list of PubsubMessage objects for testing taxi ride events.
- apache_beam.yaml.examples.testing.input_data.kafka_messages_data()[source]
Provides a list of Kafka messages for testing.
- class apache_beam.yaml.examples.testing.input_data.TaxiRideEventSchema(ride_id, longitude, latitude, passenger_count, meter_reading, timestamp, ride_status)[source]
Bases:
NamedTuple
Create new instance of TaxiRideEventSchema(ride_id, longitude, latitude, passenger_count, meter_reading, timestamp, ride_status)