6.30.3276#

SDK Version attached to KAPPA-Automate 6.30.3276 is version 6.30.5769.

New Features#

KwScript

New class exposing KW scripts attached to a well, with properties KwScript.id, KwScript.name, KwScript.target_module, KwScript.kw_service_id, and KwScript.parent_id.

Well.kw_scripts

New lazy-loaded property returning the list of KwScript objects contained in the well.

Well.delete_kw_script()

Delete a KwScript from the well and update the cached list.

AutomaticRTMForecastDurationTypeEnum

New enum with values elapsed_hours, end_date, and eur to control how forecast duration is specified.

New forecast duration modes on AutomaticRTMForecastSettings and Field.create_automatic_rtm_aggregator()

Forecasts can now use an end date (end_date) or EUR-based duration (eur) in addition to the existing elapsed-hours mode. New properties: AutomaticRTMForecastSettings.forecast_duration_type, AutomaticRTMForecastSettings.forecast_end_date, AutomaticRTMForecastSettings.abandonment_rate.

Aggregator

New read-only class exposing aggregators on a Field, with properties Aggregator.id, Aggregator.name, Aggregator.creation_date, Aggregator.aggregator_type, Aggregator.well_ids, and Aggregator.well_ids_in_error.

AggregatorTypeEnum

New enum with values automatic_rtm, nod_workflow, user_task, and interactive_production_analysis.

Field.aggregators

New lazy-loaded, cached property returning the list of Aggregator objects defined on the field.

WellGroup.aggregators

New property returning the list of Aggregator objects defined on the well group.

Data.set_as_reference()

New method to set a Data as the reference data of its data-type in the well.

ProductionFolder.shut_in_id and ProductionFolder.user_task_id

New properties exposing, for a corrected production, the id of the shut-in used to create it and its user task id (both None for a raw production folder).

Breaking Changes#

forecast_slope removed from AutomaticRTMForecastSettings

The forecast_slope property and constructor parameter have been removed. The server no longer supports this field.

AutomaticRTMForecastSettings.forecast_duration is now Optional[float]

Previously always required, forecast_duration is now optional and only applicable when forecast_duration_type is elapsed_hours.