weaver.quotation.estimation
¶
Module Contents¶
-
weaver.quotation.estimation.
estimate_process_quote
(quote: weaver.datatype.Quote, process: weaver.datatype.Process) → weaver.datatype.Quote[source]¶ Estimate execution price and time for an atomic Process operation.
Employs provided inputs and expected outputs and relevant metadata for the Process.
- Parameters
quote – Quote with references to process parameters.
process – Targeted process for execution.
- Returns
Updated quote with estimates.
-
weaver.quotation.estimation.
estimate_workflow_quote
(quote: weaver.datatype.Quote, process: weaver.datatype.Process) → weaver.datatype.Quote[source]¶ Loop Workflow sub-Process steps to get their respective Quote.
-
weaver.quotation.estimation.
process_quote_estimator
(task: celery.task.Task, quote_id: weaver.typedefs.AnyUUID) → weaver.quotation.status.AnyQuoteStatus[source]¶ Estimate Quote parameters for the Process execution.
- Parameters
task – Celery Task that processes this quote.
quote_id – Quote identifier associated to the requested estimation for the process execution.
- Returns
Estimated quote parameters.