def airline_demo_warehouse_pipeline(): process_delays_by_geo() outbound_delays = average_sfo_outbound_avg_delays_by_destination( q2_sfo_outbound_flights()) file_handle_to_s3.alias('upload_delays_vs_fares_pdf_plots')( delays_vs_fares_nb.alias('fares_vs_delays')(delays_vs_fares( tickets_with_destination=tickets_with_destination(), average_sfo_outbound_avg_delays_by_destination=outbound_delays, ))) file_handle_to_s3.alias('upload_outbound_avg_delay_pdf_plots')( sfo_delays_by_destination(outbound_delays))
def process_delays_by_geo() -> S3FileHandle: return file_handle_to_s3.alias('upload_delays_by_geography_pdf_plots')( delays_by_geography( westbound_delays=westbound_delays(), eastbound_delays=eastbound_delays() ) )