1.6.0
Release notes
-
New feature: Create Alerts.
Creating alerts in Predictive Asset Insights (PAI) / Assetcentral (AC) is now supported. Alerts support the use case of automated machine created events for an equipment.A single alert can be created using the
sailor.pai.create_alert
function.
The create_alert function uses the same syntax and semantics as the create_notification function. See the tutorial on "Writing Master Data".
Specifying and reading custom fields on alerts is supported, too. Please refer to create_alert for more information.You need PAI and AC credentials to use this feature. Please check the documentation for a configuration example.
-
Bugfix: find_alerts: numeric and timestamp fields could not be queried correctly
-
Removed deprecated features as announced in warnings
List of closed pull-requests since last release
#68: Introduce new MasterDataEntity and MasterDataField as new base classes.
#70: simplify patching in iot tests
#71: Configure In Solidarity app to ignore "masterdata"
#72: Docs: add inherited functions of classes
#73: Introduce query transformer to support TS offset for PAI Alert
#75: Bump pillow from 8.2.0 to 8.3.2
#76: find functions: make query transformer default for supported fields
#77: Refactor common AC utils into _base
#78: Create pull request template with checklist
#79: Fix post request filtering
#81: Add query transformer for numeric fields on Alerts.
#82: pandas 1.3.0 for timestamp enhancement
#83: Bump versions of dependencies
#84: Make MasterDataEntity magic functions only work on id property
#85: Remove deprecated features
#88: PAI/AC: Support creating Alerts.
#89: Test setup hardening: Warnings and latest dependency versions
Changes
1.5.0...1.6.0