Changelog¶
Version 2.13.0¶
- [Change] Updated data push jobs to use the latest API version without introducing a breaking change.
- [Add] Added support for new data integration API. New API provides some flexibilities alongside improvement on classification of errors. You can provide
use_api_v2=Truefor data exports to use the new version as follows: pycelonis.pql.saola_connector.DataModelSaolaConnector(..., use_api_v2=True)pycelonis.pql.saola_connector.KnowledgeModelSaolaConnector(..., use_api_v2=True)pycelonis.pql.saola_connector.AnalysisSaolaConnector(..., use_api_v2=True)pycelonis.ems.data_integration.data_model.create_data_export(..., use_api_v2=True)pycelonis.ems.data_integration.data_model.export_data_frame(..., use_api_v2=True)pycelonis.ems.data_integration.data_model.export_data_frame_from(..., use_api_v2=True)- [Fix] Updated underlying asset types used for
pycelonis.ems.studio.package.get_views()function to retrieve JAB views. - [Fix] Fixed
data_model_table.update()function to be compatible with OCPM data models
Version 2.12.0¶
- [Fix] Updated underlying asset types used for
package.get_viewandpackage.get_viewsfunctions to retrieve JAB views. - [Change] Create/update view functions are updated for future compatibility. These functions will eventually stop working with older PyCelonis versions.
- [Fix] Proxies parameter of
get_celonisis deprecated in favor ofproxyandmountsparameters and will be removed in future versions. See httpx docs on proxies for more information. This change is to be compatible withhttpx>=0.28.0for new versions ofpycelonisandpycelonis_core>=2.10.2.
Version 2.10.0¶
- [Fix] Made the function
job.get_current_execution_statuspublic to use. - [Fix] Fix faulty
typingimport inpool_variablemodule. - [Add] Added
content_node.copy_to()functions to copy Studio assets to other packages and teams on the same realm. - [Fix]
TaskVariableinstances require anidto be set in order to perform update/delete on them, or an exception will be raised.
Version 2.9.0¶
- [Add] Added
package.create_view()function to create a view inside a package. - [Fix] Fix batch upserts changing the datatype of the columns when there are None values in the chunks by casting to inferred types.
- [Fix] Updated underlying API Endpoint used for
analysis.updatefunction to stay compatible with future EMS releases. - [Fix] Updated underlying API Endpoint used for
view.updatefunction to stay compatible with future EMS releases. - [Fix] Updated underlying API Endpoint used for
knowledge_model.updatefunction to stay compatible with future EMS releases.
Version 2.8.0¶
- [Add] Added
data_pool.copy_to()anddata_job.copy_to()functions to copy a pool or job to other EMS Team within the same realm. - [Fix] Properly display error message when data export is not enabled for team.
- [Fix] Set
poolIdparameter when creating a data pool variable. - [Breaking Change] Added mandatory
runtimeparameter for Studio package variables with default valueTrue.
Version 2.7.0¶
- [Feature] Added support for
pydantic>=2.0.0. - [Fix] Handle
OverflowErrorduring polling for data model reloads, data push jobs, etc.
Version 2.6.0¶
- [Feature] Added create, update, get, and delete functions for knowledge model KPIs, Variables, and Filters.
- [Change] Changed class names for knowledge model content Record, Filter, Attribute, and Identifier to:
pycelonis.ems.studio.content_node.knowledge_model.component.FinalFilterpycelonis.ems.studio.content_node.knowledge_model.component.FinalRecordpycelonis.ems.studio.content_node.knowledge_model.component.FinalAttributepycelonis.ems.studio.content_node.knowledge_model.component.FinalIdentifier
Version 2.5.1¶
- [Fix] Fix table creation using
data_pool.create_tablewhen table already exists with different data source id.
Version 2.5.0¶
- [Improvement] Improved API client compatibility for enum values and store enum values as string in models instead of the enum object.
- [Improvement] Updated SaolaPy to v0.3.1 which provides better error messages.
- [Improvement] Improved API reference documentation to also include inherited methods and attributes.
Version 2.4.1¶
- [Fix] Fixed verify_ssl option in combination with proxies
- [Fix] Improved SaolaPy performance during data exports
- [Fix] Fixed issue with SaolaPy export for analyses and knowledge model variables
Version 2.4.0¶
- [Deprecation] Deprecated
DataModel.export_data_frame_fromin favor of SaolaPy data export implementation (see docstrings and tutorials for more information). - [Deprecation] Deprecated
data_model.export_data_framein favor of SaolaPy data export implementation (see docstrings and tutorials for more information). - [Deprecation] Deprecated
analysis.resolve_queryin favor of SaolaPy data export implementation (see docstrings and tutorials for more information). - [Deprecation] Deprecated
knowledge_model.resolve_queryin favor of SaolaPy data export implementation (see docstrings and tutorials for more information).
Version 2.3.2¶
- [Fix] Update
pycelonis_coreto 2.1.1
Version 2.3.1¶
- [Add] Added
KnowledgeModelSaolaConnectorandAnalysisSaolaConnectorclass to export data from a knowledge model or analysis using the DataFrame interface. - [Fix] Limited pydantic to version
<2.0.0. - [Add] Added
verify_ssloption to theClientto enable TLS certificate verification.
Version 2.3.0¶
- [Add] Added
data_push_job.delete_data_frame()anddata_push_job.delete_file_chunk()functions to delete dataframe or file from a data pool table. - [Add] Added
PoolVariableclass to work with data pool variables. Also addeddata_pool.get_pool_variables(),data_pool.get_pool_variable(id)anddata_pool.create_pool_variable()functions, in PyCelonis1.X calleddata_pool.variables()anddata_pool.create_pool_parameter()to get and create data pool variables (parameters). - [Improvement] Added
data_job.cancel_execution()to cancel the execution of the data job. - [Add] Added
TaskVariableclass to work with task pool variables. Also addedtask.get_task_variables(), andtask.create_task_variable()functions, in PyCelonis1.X calleddata_extraction.variables(),transformation.variables()anddata_extraction.create_extraction_parameter(),transformation.create_transformation_parameter()to get and create task variables (parameters). - [Add] Added
groupbyfunctionality for dataframes in SaolaPy.
Version 2.2.0¶
- [New Feature] Introduced Beta version of SaolaPy to PyCelonis to interact with SaolaDB using a DataFrame interface.
Version 2.1.0¶
- [Improvement]
data_model.get_columns()returns CelonisCollection with high-level column objects that also contain table name and alias. - [Improvement]
data_model.get_load_status()returns the current load status of the data model. - [Breaking Change] Introduced
indexparameter to create, append, and upsert data pool table which is set toFalseby default to not push the data frame index to EMS. Previously, custom indices (not RangeIndex) were pushed as separate column.
Version 2.0.3¶
- [Fix] Fixed pycelonis_core dependency
- [Improvement] Added a proxies parameter to the get_celonis method
Version 2.0.2¶
- [Fix] Fix resolve query function for published analyses without variables
- [Fix] Set default of follow_redirects to true for client to automatically follow redirects
- [Improvement] Updated documentation and tutorials
- [Improvement] Added additional examples to API reference
- [Improvement] Improved error message when pushing invalid dataframe using data push job
Version 2.0.1¶
- [Fix] Fixed parsing of custom objects in knowledge model
- [Fix] Fixed creating tables within data connection by passing
data_source_idparameter - [Fix] Improved logging for
data_pool.create_table()method - [Add] Support for translated name attribute in PQLColumns for analysis components
Version 2.0.0¶
PyCelonis 2.0.0 is a complete redesign PyCelonis with improved user experience, performance, and stability. It is not backwards compatible with PyCelonis 1.X.X.
The new features of PyCelonis 2.0 include: - New interfaces aligned with the EMS navigation: apps, data integration, studio, ...
-
Performance improvements for API calls
-
Improved error handling and logging
-
Explicit update and sync operations to improve performance
-
Improved semantics for data upload
-
Additional features for PQL handling
-
Streamlined data export through data model
-
Clearer separation between Studio and Apps
-
Removal of redundant APIs
-
A consistent interface for classes and methods
For more information on the differences between PyCelonis 1.X and 2.X and how to migrate existing scripts to 2.X, check out the migration tutorial.