Mstrio-py

Latest version: v11.4.9.101

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

11.3.10.102

Major changes

- added `Language` class in `mstrio.server.language` package to allow management
of Languages
- added `list_languages` and `list_interface_languages` to allow listing languages
and interface languages

Minor changes

- fixed `Metric` objects always returning `None` for `hidden` field and fixed
`alter` method to allow updating it

Deprecated

- `Locale` class in `mstrio.datasources` is no longer supported and is
superseded by `Language` class in `mstrio.server.language` package
- `list_locales` function in `mstrio.datasources` is no longer supported and is
superseded by `list_languages` function in `mstrio.server.language` package

11.3.10.101

Major changes

- updated `create` method of `OlapCube` class to support new parameters:
`template`, `filter`, `options`, `advanced_properties`, `time_based_settings`,
`show_expression_as` and `show_filter_tokens`
- updated `alter` method of `OlapCube` class to allow altering new parameters:
`template`, `filter`, `options` and `time_based_settings`
- added `set_partition_attribute`, `remove_partition_attribute` and `list_attribute_forms`
methods to `OlapCube` class to allow managemenet of partition attribute and observing
attributes forms
- added `list_vldb_settings`, `alter_vldb_settings` and `reset_vldb_settings`
methods to `OlapCube` class to allow management of VLDB settings

Deprecated

- `update` method of `OlapCube` class is no longer supported, is superseded by `alter`
method, and will be removed in the future
- `attributes`, `metrics` and `overwrite` parameters in `create` method of `OlapCube` class
are no longer supported, are superseded by `template` parameter, and will be removed
in the future

11.3.9.103

Major changes

- added `list_vldb_settings`, `alter_vldb_settings` and `reset_vldb_settings`
methods to `DatasourceInstance` class and `Project` class to allow management
of VLDB settings
- added `Driver` class and `list_drivers` function in `mstrio.datasources.driver`
module to allow driver management
- added `Gateway` class and `list_gateways` function in `mstrio.datasources.gateways`
module and `GatewayType` and `DBType` enums in `mstrio.datasources.helpers` to
allow gateway management

Minor changes

- updated `ipython` dependency version to 8.10.0
- added a `project_id` property for `Metric` instances
- fixed `is_logical_size_locked` for `LogicalTable` to be working as boolean
- fixed `list_logical_tables` function to return all tables if called without
specifying `project_id` or `project_name`, unless limit argument is provided
- fixed `Attribute`, `Document`, `Fact`, `Filter`, `Metric`, `Transformation`,
`IncrementalRefreshReport` classes to be initialized by name with
`SearchPattern.EXACTLY` instead of `SearchPattern.CONTAINS`
- fixed `list_objects` function to accept integer as input for `object_type` argument
- fixed `User.security_filters` property to always return all user's security filters
from all loaded projects
- added `delivery_expiration_timezone` argument for `Subscription` class and its subclasses
(supported from Update 10 environments)
- fixed `Attribute` objects always returning `None` for `hidden` field and fixed
`alter` method to allow updating it
- added `SuperCubeAttribute`, `SupperCubeAttributeForm`, `SuperCubeFormExpression`
classes in `mstrio.project_objects.datasets.super_cube` module to support attribute
forms for `SuperCube`

11.3.9.101

Major changes

- added `HistoryListSubscription`, `FTPSubscription` and `FileSubscription`
classes in `mstrio.distribution_services.subscription` package to allow
management of new subscription types
- added `DynamicRecipientList` class in `mstrio_distribution_services.subscription`
package to allow management of Dynamic Recipient Lists
- added `list_dynamic_recipient_lists` to allow listing dynamic recipient lists

Minor changes

- added verification, when initializing `Report` object, if object is supported,
currently supported are objects with subtypes: 768 - grid, 769 - graph 769,
770 - engine, 774 - grid and graph, 778 - transaction, 781 - hyper card
- changed `list_reports` function to return only object supported by `Report` class
- added methods to convert connection from DSN to DSN-less format in classes
`DatasourceInstance` and `DatasourceConnection`
- improved error messages when calling `list_dependents` and `list_dependencies`
on unsupported objects
- added support for `Time` type to `SuperCube` class
- added `with` statement compatibility for `Connection` object
- added function `find_objects_with_id` in `mstrio.object_management.search_operations`
to allow searching for object when knowing only its ID
- fixed listing and initialising by name documents and dossiers
when name was longer than 30 characters
- fixed not being able to create `SuperCube` with update policy other than `replace`
- added checking during creation if `SuperCube` with given name already exists in a folder,
and display an error if it does
- added support for Python 3.11
- fixed `Dossier` class to work properly when being initialised by name
- fixed `Project.alter` method
- fixed managing `Subscriptions` recipients to work properly with existing recipients
- fixed circular import of the `Device` module for `Contact` and `distribution_services`
- altered `attributes.py` code snippet to use `list_table_columns`
and `list_logical_tables` methods from `table` module
- updated dependencies in `requirements.txt`
- fixed `list_objects` method to work properly for different domains
- fixed and combined `_update_acl` and `_modify_rights` methods, added `modify_rights` method
- added `Service` and `ServiceWithNode` classes in `mstrio.server.node` module

11.3.7.103

Major changes

- added `ContentCache` class in `mstrio.project_objects.content_cache` module to allow Document,
Dossier and Report cache management

Minor changes

- added `list_properties` and `list_available_schedules` methods for
`mstrio.project_objects.document` module
- added `list_properties` method for `mstrio.project_objects.dossier` module
- added `VisualizationSelector`, `PageSelector`, `PageVisualization`, `ChapterPage` and
`DossierChapter` classes in `mstrio.project_objects.dossier` module
- added cache management methods for `mstrio.project_objects.document` module by inheriting from
`ContentCache` class
- added cache management methods for `mstrio.project_objects.dossier` module by inheriting from
`ContentCache` class
- fixed `list_documents_across_projects` function to work properly when `to_dataframe` or
`to_dictionary` parameters are set to `True`, also to not return an error when user has no access
to one of the projects but to skip that project instead
- fixed `list_dossiers_across_projects` function to work properly when `to_dataframe` or
`to_dictionary` parameters are set to `True`, also to not return an error when user has no access
to one of the projects but to skip that project instead
- added `export_sql_view` method to `SuperCubes` to allow extraction of sql statement
- increased chunk size for fetching projects
- fixed importing and exporting project settings from/to CSV file
- fixed `list_physical_tables` when logical table aliases are in the project
- fixed `project_id` parameter not being used in `list_logical_tables`
- added two methods to `User` class: `User.to_dataframe_from_list()` and `User.to_csv_from_list()`
- fixed altering `table_prefix` in `DatasourceInstance`
- fixed getting `Subscriptions` with `refresh_condition`

Deprecated

- `mstrio.distribution_services.contact` module is no longer supported and is moved to
`mstrio.users_and_groups` subpackage
- `mstrio.distribution_services.contact_group` module is no longer supported and is moved to
`mstrio.users_and_groups` subpackage
- `mstrio.access_and_security.security_filter` module is no longer supported and is replaced by
`mstrio.modeling.security_filter` and `mstrio.modeling.expression` subpackages

11.3.6.103

Major changes

- added `Transformation`, `TransformationAttribute` and `TransformationAttributeForm` classes in
`mstrio.modeling.schema.transformation` subpackage to allow transformation management
- added `list_transformations` to allow listing for transformations
- added `DefaultSubtotals`, `Dimensionality`, `DimensionalityUnit`, `FormatProperty`, `Metric`,
`MetricFormat` and `Threshold` classes in `mstrio.modeling.metric` subpackage to allow
metric management
- added `list_metrics` to allow listing for metrics

Minor changes

- added `list_locales` to `mstrio.datasource.datasource_map` module to allow listing locales
- added `DatasourceMap.alter()` method to allow altering user-defined connection mapping
- added `list_warehouse_tables()` method to `mstrio.modeling.schema.table.warehouse_table` module
to allow listing all warehouse tables from all available datasources

Deprecated

- `mstrio.distribution_services.contact` module is deprecated and is moved to
`mstrio.users_and_groups` subpackage
- `mstrio.distribution_services.contact_group` module is deprecated and is moved to
`mstrio.users_and_groups` subpackage
- `mstrio.access_and_security.security_filter` subpackage is deprecated and replaced by
`mstrio.modeling.security_filter` and `mstrio.modeling.expression` subpackages

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.