update_custom_curves
update_custom_curves
Service for update custom curves operations.
Classes
UpdateCustomCurvesRunner
Bases: BaseRunner[Dict[str, Any]]
Runner for uploading custom curves to a scenario.
Functions
build_requests
staticmethod
Build custom curve upload requests for concurrent batching.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
scenario
|
Any
|
The scenario object (must have an 'id' attribute) |
required |
custom_curves
|
Dict[str, Any]
|
Dict mapping curve keys to curve data (pandas Series/DataFrame, list, or string) |
required |
Returns:
| Type | Description |
|---|---|
List[Dict[str, Any]]
|
List of request dicts ready for AsyncBatchRunner |