Mstrio-py

Latest version: v11.4.3.101

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

Scan your dependencies

Page 4 of 5

11.3.2.101

Major changes

- added `Schedule` class in `mstrio.distribution_services.schedule` subpackage
- added `ScheduleTime` class in `mstrio.distribution_services.schedule`
subpackage, local object used for specifying time related properties of
schedule
- added `Event` class in `mstrio.distribution_services.event` subpackage
- changed `Subscription` class to now use `Schedule` objects
- added datasources subpackage with `Dbms`, `DatabaseConnections`,
`DatasourceInstance`, `DatasourceLogin`, `DatasourceMap` classes covering
database management functionality
- added functions `list_available_dbms`, `list_datasource_connections`,
`list_datasource_instances`, `list_datasource_logins`,
`list_datasource_mappings` to list all datasource related objects
- added `database_connections` module allowing to browse and manage database
connections on the environment
- added ACL management functionality for all supporting objects by adding
`list_acl`, `acl_add`, `acl_remove`, `acl_alter` methods
- added `SecurityFilter` class and function `list_security_filters` in
`mstrio.access_and_security.security_filter` subpackage
- added `Qualification` class in `mstrio.access_and_security.security_filter`
subpackage which is an object used to represent qualification of security
filter
- added classes `PredicateBase`, `PredicateForm`, `PredicateElementList`,
`PredicateFilter`, `PredicateJointElementList` and `LogicOperator` in
`mstrio.access_and_security.security_filter` subpackage to represent
predicates which can be used in creation of qualification for security filter
- added classes `ParameterBase`, `ConstantParameter`,
`ObjectReferenceParameter`, `ExpressionParameter`, `PromptParameter`,
`DynamicDateTimeParameter` and `ConstantArrayParameter` in
`mstrio.access_and_security.security_filter` subpackage to represent
parameters used in `AttributeForm`

Bug fixes

- fixed urllib3 dependency installing incompatible version
- fixed GUI login to be case-insensitive

Deprecated

- `mstrio.admin.schedule` is deprecated and superceded with
`mstrio.distribution_services.schedule` subpackage
- `schedules` replace argument `schedules_id` in `create` and `alter`, methods
of `Schedule` class
- `mstrio.distribution_services.schedule.ScheduleManager` is now deprecated,
use `mstrio.distribution_services.schedule.list_schedules()` instead
- removed features deprecated in release 11.3.1.101 and aliases allowing for
backward compatibility

11.3.1.102

Major changes

- changed files structure to organize the modules in clean and readable way
- added or improved type hints across the codebase
- added Enums: `PrivilegeMode`, `IdleMode`, `GroupBy`, `ServiceAction`,
`Rights` and `Permissions`
- implemented `Node` class to be used for node management in place of a raw dict
- added `CubeCache` class in `mstrio.application_objects.datasets` subpackage
- updated method `load_cube` to load cube by name
- added functions `list_cube_caches` , `delete_cube_caches` and
`delete_cube_cache`
- added methods `create`, `update`, `get_sql_view` and `publish` for class
OlapCube
- added method `unpublish` available for classes `OlapCube` and `SuperCube`
- added `list_reports` function to `Report` module
- added `alter` and `list_properties` methods to `Report` class

Bug fixes

- fixed custom cell collapsing at re-run at certain conditions
- fixed wrong object type for `Entity.__init__()` method
- fixed `KeyError:'body'` when executing `update_properties` on an object
- fixed `TypeError: unhashable type:'dict'` after accessing `attr_elements` of
`Cube`
- fixed `mstrio.dataset` module `publish` method sending requests too frequently
to the REST API

Deprecated

- `id` replaces field `report_id` in `Report` class

11.3.1.101

Major changes

- added `SuperCube` and `OlapCube` classes in
`mstrio.application_objects.datasets` subpackage
- added `list_all_cubes`, `load_cube`, `list_super_cubes`, `list_olap_cubes`
functions that allow searching available cubes by name and construct precise
objects
- added possibility to alter `name`, `description`, `abbreviation` properties of
cubes
- added more `Cube` object attributes similar to other MSTR objects
- added `user_id`, `user_full_name`, `user_initials` attributes to `Connection`
class
- added missing parameters `trust_id` and `database_auth_login` in
`user.alter()` method

Bug fixes

- fixed `KeyError` when trying to connect on certain environments 49
- fixed initializing `Cube` object when cube Server available 46
- fixed `instance_id` attribute not being filled in `Cube` class 39

Deprecated

- `mstrio.admin` subpackage is deprecated and its modules are moved according to
new structure
- `mstrio.cube` and `mstrio.dataset` are deprecated and are superceded by
`OlapCube` and `SuperCube` from `application_objects.datasets` subpackage
- `mstrio.report` and `mstrio.library` modules are deprecated and are moved to
`application_objects` subpackage
- `date_modified` and `id` replace parameters/attributes `cube_id` and
`last_modified` in new `SuperCube` and `OlapCube` classes
- `project_id` and `project_name` parameters/attributes are deprecated across
the package in favor of `application_id` and `application_name`

11.3.0.2

- updated example links in readme.md file

11.3.0.1

Major changes

Python Code

- added `admin` subpackage with `user`, `usergroup`, `application`,
`security_role`, `privilege`, `schedule`, `subscription`,
`subscription_manager` modules allowing to administer those objects on the
MicroStrategy environment, notably:
- browse and view
- modify
- create and delete
- manage privileges and object permissions
- added `server` module allowing to administer the cluster, change node
settings, manage services and more
- added support for viewing, comparing, modifying, exporting/importing
application and I-Server settings via the `application` module
- added `user_connections` module allowing to manage active user sessions
- added `library` module allowing to view and manage users' libraries
- added `dossier` and `document` modules
- added support for **proxy** configuration in `Connection` class
- added `Connection.select_project()` method allowing to change current project
- changed `Connection` object constructor to not require setting `project_id` or
`project_name`

GUI

- added UI-generated **Custom Jupyter Cells** which allow for Python
Code edition and use mainly via UI, Buttons and Interactive Button-like
Elements

Bug fixes

- improved GUI stability in Data Modelling
- improved Safari compatibility
- resolved import issues with OLAP cubes
- resolved edge case general issues in import and export

Deprecated

- `add`, `update`, `upsert` update methods are not supported anymore when
overwriting cube and will throw `ValueError` exception

11.2.2.1

Major changes

- improved performance for downloading Reports / Cubes with view filter
- automatically remove the `Row Count` column from the imported datasets
- extend `Connection` class with the `identity_token` param to allow for
delegated authentication
- added support for operator `NotIn` in view filter
- added `instance_id` parameter in the `Report` / `Cube` constructors to utilize
existing instance on I-Server
- limited HTTP sessions by reusing the underlying TCP/IP connection
- added new methods to `Cube` class: `update` and `save_as`
- improved overall user experience in the GUI

Bug fixes

- fixed critical compatibility issue with 11.1.x environments
- various UI fixes

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.