leaf_engine.adapt.exports.ops_plan_template

Functions

export_lane_level_ops_plan_template(adapt_cxt, ...)

This function generates, formats, and exports the data that serves as the

export_ops_plan_template(etl_cxt, adapt_cxt, oa_cxt, ...)

This function generates, formats, and exports the data that serves as the

Module Contents

leaf_engine.adapt.exports.ops_plan_template.export_lane_level_ops_plan_template(adapt_cxt: leaf_engine.adapt.context.adapt_contexts.AdaptDataContext, action_cxt: leaf_engine.adapt.context.adapt_contexts.AdaptActionContext, rate_cxt: leaf_engine.adapt.context.adapt_contexts.AdaptSyntheticRateContext, equipment_class: str, env: str, path: str)

This function generates, formats, and exports the data that serves as the initial Ops Plans for a particular shipper. An Ops Plan is Leaf’s way of recording how we expect to manage a Shipper’s freight in a standardized way so that they can be accessed by our teams. The Ops Plan includes information about the volume on the lane, ways that we plan to contract the lane with LSPs, the expected pricing for those contracts, and the expected time Leaf needs to put in place those contracts.

NB: Ops Plans are created/stored for any unique combination of Shipper, Lane, and Equipment Type, and are owned by CX Demand.

Parameters:
leaf_engine.adapt.exports.ops_plan_template.export_ops_plan_template(etl_cxt: leaf_engine.adapt.context.adapt_contexts.AdaptETLContext, adapt_cxt: leaf_engine.adapt.context.adapt_contexts.AdaptDataContext, oa_cxt: leaf_engine.adapt.context.adapt_contexts.AdaptOAContext, action_cxt: leaf_engine.adapt.context.adapt_contexts.AdaptActionContext, rate_cxt: leaf_engine.adapt.context.adapt_contexts.AdaptSyntheticRateContext, explorer_cxt: leaf_engine.adapt.context.adapt_contexts.AdaptExplorerContext, env: str, path: str)

This function generates, formats, and exports the data that serves as the initial Ops Plans for a particular shipper. An Ops Plan is Leaf’s way of recording how we expect to manage a Shipper’s freight in a standardized way so that they can be accessed by our teams. The Ops Plan includes information about the volume on the lane, ways that we plan to contract the lane with LSPs, the expected pricing for those contracts, and the expected time Leaf needs to put in place those contracts.

NB: Ops Plans are created/stored for any unique combination of Shipper, Lane, and Equipment Type, and are owned by CX Demand.

Parameters: