leaf_engine.adapt.exports.ops_plan_template
Functions
|
This function generates, formats, and exports the data that serves as the |
|
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:
adapt_cxt (leaf_engine.adapt.context.adapt_contexts.AdaptDataContext) – adapt data context
action_cxt (leaf_engine.adapt.context.adapt_contexts.AdaptActionContext) – adapt actions context
rate_cxt (leaf_engine.adapt.context.adapt_contexts.AdaptSyntheticRateContext) – synthetic rates context
equipment_class (str) – equipment class for which the ops plan has to be exported
env (str) – environment for export
path (str) – path to where the ops plan has to be exported
- 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:
etl_cxt (leaf_engine.adapt.context.adapt_contexts.AdaptETLContext) – etl context
adapt_cxt (leaf_engine.adapt.context.adapt_contexts.AdaptDataContext) – adapt data context
oa_cxt (leaf_engine.adapt.context.adapt_contexts.AdaptOAContext) – opportunity assessment context
action_cxt (leaf_engine.adapt.context.adapt_contexts.AdaptActionContext) – adapt actions context
rate_cxt (leaf_engine.adapt.context.adapt_contexts.AdaptSyntheticRateContext) – synthetic rates context
explorer_cxt (leaf_engine.adapt.context.adapt_contexts.AdaptExplorerContext) – explorer context
env (str) – environment for export
path (str) – path to where the ops plan has to be exported