- added
list_fences
method andFence
class inmstrio.server.fence
subpackage to allow management of Fences - added
list_cluster_startup_membership
andupdate_cluster_startup_membership
methods toCluster
class inmstrio.server.cluster
to allow management of cluster startup membership - added arguments
add_to_cluster_startup
andremove_from_cluster_startup
toadd_node
andremove_node
methods inCluster
class inmstrio.server.cluster
to allow adding and removing nodes from cluster startup - added
port
,status
,load
,projects
anddefault
attributes toNode
class inmstrio.server.node
subpackage - added
get_status_on_node
method toProject
inmstrio.server.project
class to allow checking the status of a project on a specific node - added
lock
,unlock
methods andlock_status
property toProject
class inmstrio.server.project
to allow managing project locks
- added
include_subfolders
flag tolist_folders
method ofmstrio.object_management.folder
package to allow getting all folders in the specified project or configuration-level folders - added
parent_folder
argument tolist_folders
method ofmstrio.object_management.folder
package to allow getting all folders from specified parent folder only
- fixed the
settings
property for theUserGroup
class to allow fetching a list of settings on the environment version 11.4.1200 and above. On the previous environments versions no change in behaviour will happen and the settings for thejobMemGoverning
will be returned - fixed the
create
method for theContentGroup
to allow creation without the need to providerecipients
- fixed the
alter
method for theApplication
class, passing the wrong body to the server - fixed the
alter
methods forEvent
andDriver
classes to allow update comments - fixed
EmbeddedConnection
so that its objects properly link to their correspondent DSNs - fixed
User.last_login
erroneously reporting the user does not exist in some cases
- added
list_bots
method andBot
class inmstrio.project_objects.bots
subpackage to allow management of Bots - added
list_content_groups
method andContentGroup
class inmstrio.project_objects.content_group
subpackage to allow management of Content Groups - added
list_applications
method andApplication
class inmstrio.project_objects.applications
subpackage to allow management of Applications - added
StorageService
class for Storage Service configuration of an environment - added
storage_service
property,fetch_storage_service
andupdate_storage_service
methods to theEnvironment
class to manage the environment's Storage Service configuration - official release of
Migration
class and its methods (introduces some breaking changes compared to "Preview" state)
- added
last_update_time
property toCube
based classes
- fixed
utils.wip
to not configure root logger, added separate logger for the library's root module to not interfere with loggers defined in users' scripts - fixed
DatasourceInstance.to_dict
so that incomplete REST response does not invalidate listing Datasource Instances and lookup by name
- added
refresh()
method toOlapCube
andSuperCube
classes to allow cubes republish without interaction, creating aJob
- added support for providing a folder path instead of a folder ID to methods within the
Folder
class, and alsoquick_search
,full_search
and all methods inheriting from them that accept a folder ID argument - added
include_subfolders
flag toget_contents
method ofFolder
class to allow getting the contents of the children of the specified folder recursively - added the
sql
property toReport
class, that allows getting the SQL View of a report without executing it - added
IncrementalRefreshReport
class inmstrio.object_management.incremental_refresh_report
package to allow managing Incremental Refresh Reports - added
list_incremental_refresh_reports
method to allow listing Incremental Refresh Reports in a project - added function
quick_search_by_id()
inmstrio.object_management.search_operations
to allow searching for objects by object and project ID - added function
send_email()
inmstrio.distribution_services.email
to allow sending emails - added
execute_query()
method toDatasourceInstance
class to allow executing SQL queries - added
status
property toSubscription
class to allow checking the status of a subscription - added support for answering prompts in
to_datasource()
method ofReport
class, along with aPrompt
class inmstrio.project_objects.prompts
to support prompts - added support for
password_auto_expire
andpassword_expiration_frequency
fields toUser
class - added support for Page By in
Report
class - added support for VLDB properties in
Report
class
- added Warning message to
OlapCube
nadSuperCube
classes that is shown when provided ID belongs to Cube of different type - updated
PageSize
Enum values to allow proper Subscription initialization - added support for both
name
anddisplay_name
in VLDB settings provided byModelVldbMixin
- added
vldb_settings
property inVldbMixin
class that stores VLDB settings in dict with setting names as keys
- added
delete_object_cache()
anddelete_element_cache()
methods toProject
class to allow deleting object and element cache - added new optional argument
show_description
toProjectSettings.list_caching_properties()
to show description for each setting - added
delete_server_object_cache()
anddelete_server_element_cache()
methods toEnvironment
class to allow deleting object and element cache from all projects - added
MobileSubscription
class inmstrio.distribution_services.subscription
package to allow management of the new subscription type - added new bulk methods to the
Translation
class:to_json_from_list
,add_translations_from_json
,to_database_from_list
,add_translations_from_database
,to_dataframe_from_list
andadd_translations_from_dataframe
- updated old Translation methods:
to_csv_from_list
andadd_translations_from_csv
with new functionalities present in the new bulk methods for json, databases and dataframes - added support for the
comments
field in MSTR objects to view and edit their long description - added
EmbeddedConnection
class to allow access to embedded connection templates inDatasourceInstance
- added support for Python 3.12
- updated script template for datasource scripts
enableHtmlContentInDossier
server setting is now read-only for environments on Update 13 and newer, and cannot be changed using mstrio-py since it is being superseded byallowHtmlContent
mstrio.project_objects.dossier
module is superseded bymstrio.project_objects.dashboard
and will be removed in the future, after 1-year deprecation period
- MicroStrategy for Jupyter Extension is no longer developed and supported and was removed from the mstrio-py package in March 2024. You can still use the mstrio-py library and all its current and upcoming features.
- changed
list_users
to allow filtering onenabled
field - added support for
ldapdn
,language
,owner
anddefault_timezone
forUsers
- added support for
ldapdn
forUserGroups
- added
add_datasource()
andremove_datasource()
methods toProject
class to allow adding and removing datasources from the project - added
data_language_settings
andmetadata_language_settings
properties toProject
class to allow interacting with project internalization:add_language()
,alter_language()
,remove_language()
,alter_current_mode()
,alter_default_language()
methods for thedata_language_settings
propertyadd_language()
,remove_language()
for themetadata_language_settings
property
- added new optional argument
show_description
toProjectSettings.list_properties()
,ProjectSettings.to_csv()
,ServerSettings.list_properties()
,ServerSettings.to_csv()
to show description for each setting - added
Enums
inmstrio.server.setting_types
to allow alteringEnum
settings by providingEnum
values instead ofstring
- updated code snippets for datasources to use
Language
class andlist_languages
function frommstrio.server.language
package instead ofLocale
class andlist_locales
function - members in user groups and security roles are now instances of
User
orUserGroup
class instead of dictionaries - addresses in
User
class are now instances ofAddress
class instead of dictionaries - added
force_with_dependents
flag inSchedule.delete()
method that allows to deleteSchedule
with dependent subscriptions without prompt
- changed endpoint of
list_users
, allowing for listing users in environments with large number of users more efficiently
- possibility of providing
initials
as a filter inlist_users
is deprecated and will be removed in the future
- removed
Locale
class andlist_locales
function frommstrio.datasources.datasource_map
module - removed
update()
method fromOlapCube
class - removed
mstrio.api.exceptions
andmstrio.helpers.exceptions
modules - removed
overwrite
,attributes
andmeterics
parameters inOlapCube.create()
method - removed ability to pass instance of
Locale
class as argument inmstrio.datasources.datasource_map
module
- added support for VLDB properties for
Metric
objects by providinglist_vldb_settings
,reset_vldb_settings
,alter_vldb_settings
methods andvldb_settings
attribute - add
refresh
argument tolist_datasource_warehouse_tables
to allow refreshing warehouse tables available in a datasource - enhanced
update_physical_table_structure
andupdate_physical_table_structure_for_all_tables
methods ofLogicalTable
to work after changingWarehouseTable
structure - added
Translation
class inmstrio.object_management.translation
package to allow management of Translations for any object with the following methods:add_translation
,alter_translation
,remove_translation
,to_csv_from_list
andadd_translations_from_csv
- added
list_translations
to allow listing translations for objects - added
add_translation
,alter_translation
,remove_translation
andlist_translations
methods to all objects inheriting from Entity to allow translation management directly through the objects
- moved
Rights
,AggregatedRights
,Permissions
enums tomstrio.helpers
module
- updated default values of
PackageSettings
class to allow safe initialization - fixed
Project Not Loaded
error when trying to initializeProject
object when running in a cluster configuration with the project not being loaded on all nodes - fixed
full_search
,get_search_results
to always return correct number of objects
- removed
list_folders
,create_folder
,delete_folder
frommstrio.utils.helper
because they have been superseded bymstrio.object_management.folder
module
- added
delete()
method toProject
class to allow deleting projects - added parameter
hidden
tocreate
methods ofAttribute
andMetric
classes
- rename
ObjectTypes.NONE
toObjectTypes.NOT_SUPPORTED
inmstrio.types
module
- fixed
to_dataframe
method ofOlapCube
class to return dataframe containing not only default attribute forms (The following types of Intelligent Cube are not supported: MDX, Query Builder, Freefrom SQL, Freeform XQuery, and Data Import.) - add printing info message to
load
,unload
anddelete
methods ofContentCache
class indicating that operation could not be performed because cache was deleted, in that case execution ofload
method will be stopped by raising error - added support for
Date
type toSuperCube
class - updated
User.add_address
andUser.update_address
methods to allow more address customizations
mstrio.api.exceptions
andmstrio.utils.exceptions
modules are superseded bymstrio.helpers
, and will be removed in the future
- added
Language
class inmstrio.server.language
package to allow management of Languages - added
list_languages
andlist_interface_languages
to allow listing languages and interface languages
- fixed
Metric
objects always returningNone
forhidden
field and fixedalter
method to allow updating it
Locale
class inmstrio.datasources
is no longer supported and is superseded byLanguage
class inmstrio.server.language
packagelist_locales
function inmstrio.datasources
is no longer supported and is superseded bylist_languages
function inmstrio.server.language
package
- updated
create
method ofOlapCube
class to support new parameters:template
,filter
,options
,advanced_properties
,time_based_settings
,show_expression_as
andshow_filter_tokens
- updated
alter
method ofOlapCube
class to allow altering new parameters:template
,filter
,options
andtime_based_settings
- added
set_partition_attribute
,remove_partition_attribute
andlist_attribute_forms
methods toOlapCube
class to allow management of partition attribute and observing attributes forms - added
list_vldb_settings
,alter_vldb_settings
andreset_vldb_settings
methods toOlapCube
class to allow management of VLDB settings
update
method ofOlapCube
class is no longer supported, is superseded byalter
method, and will be removed in the futureattributes
,metrics
andoverwrite
parameters increate
method ofOlapCube
class are no longer supported, are superseded bytemplate
parameter, and will be removed in the future
- added
list_vldb_settings
,alter_vldb_settings
andreset_vldb_settings
methods toDatasourceInstance
class andProject
class to allow management of VLDB settings - added
Driver
class andlist_drivers
function inmstrio.datasources.driver
module to allow driver management - added
Gateway
class andlist_gateways
function inmstrio.datasources.gateways
module andGatewayType
andDBType
enums inmstrio.datasources.helpers
to allow gateway management
- updated
ipython
dependency version to 8.10.0 - added a
project_id
property forMetric
instances - fixed
is_logical_size_locked
forLogicalTable
to be working as boolean - fixed
list_logical_tables
function to return all tables if called without specifyingproject_id
orproject_name
, unless limit argument is provided - fixed
Attribute
,Document
,Fact
,Filter
,Metric
,Transformation
,IncrementalRefreshReport
classes to be initialized by name withSearchPattern.EXACTLY
instead ofSearchPattern.CONTAINS
- fixed
list_objects
function to accept integer as input forobject_type
argument - fixed
User.security_filters
property to always return all user's security filters from all loaded projects - added
delivery_expiration_timezone
argument forSubscription
class and its subclasses (supported from Update 10 environments) - fixed
Attribute
objects always returningNone
forhidden
field and fixedalter
method to allow updating it - added
SuperCubeAttribute
,SupperCubeAttributeForm
,SuperCubeFormExpression
classes inmstrio.project_objects.datasets.super_cube
module to support attribute forms forSuperCube
- added
HistoryListSubscription
,FTPSubscription
andFileSubscription
classes inmstrio.distribution_services.subscription
package to allow management of new subscription types - added
DynamicRecipientList
class inmstrio_distribution_services.subscription
package to allow management of Dynamic Recipient Lists - added
list_dynamic_recipient_lists
to allow listing dynamic recipient lists
- 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 byReport
class - added methods to convert connection from DSN to DSN-less format in classes
DatasourceInstance
andDatasourceConnection
- improved error messages when calling
list_dependents
andlist_dependencies
on unsupported objects - added support for
Time
type toSuperCube
class - added
with
statement compatibility forConnection
object - added function
find_objects_with_id
inmstrio.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 thanreplace
- 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 forContact
anddistribution_services
- altered
attributes.py
code snippet to uselist_table_columns
andlist_logical_tables
methods fromtable
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, addedmodify_rights
method - added
Service
andServiceWithNode
classes inmstrio.server.node
module
- added
ContentCache
class inmstrio.project_objects.content_cache
module to allow Document, Dossier and Report cache management
- added
list_properties
andlist_available_schedules
methods formstrio.project_objects.document
module - added
list_properties
method formstrio.project_objects.dossier
module - added
VisualizationSelector
,PageSelector
,PageVisualization
,ChapterPage
andDossierChapter
classes inmstrio.project_objects.dossier
module - added cache management methods for
mstrio.project_objects.document
module by inheriting fromContentCache
class - added cache management methods for
mstrio.project_objects.dossier
module by inheriting fromContentCache
class - fixed
list_documents_across_projects
function to work properly whento_dataframe
orto_dictionary
parameters are set toTrue
, 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 whento_dataframe
orto_dictionary
parameters are set toTrue
, 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 toSuperCubes
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 inlist_logical_tables
- added two methods to
User
class:User.to_dataframe_from_list()
andUser.to_csv_from_list()
- fixed altering
table_prefix
inDatasourceInstance
- fixed getting
Subscriptions
withrefresh_condition
mstrio.distribution_services.contact
module is no longer supported and is moved tomstrio.users_and_groups
subpackagemstrio.distribution_services.contact_group
module is no longer supported and is moved tomstrio.users_and_groups
subpackagemstrio.access_and_security.security_filter
module is no longer supported and is replaced bymstrio.modeling.security_filter
andmstrio.modeling.expression
subpackages
- added
Transformation
,TransformationAttribute
andTransformationAttributeForm
classes inmstrio.modeling.schema.transformation
subpackage to allow transformation management - added
list_transformations
to allow listing for transformations - added
DefaultSubtotals
,Dimensionality
,DimensionalityUnit
,FormatProperty
,Metric
,MetricFormat
andThreshold
classes inmstrio.modeling.metric
subpackage to allow metric management - added
list_metrics
to allow listing for metrics
- added
list_locales
tomstrio.datasource.datasource_map
module to allow listing locales - added
DatasourceMap.alter()
method to allow altering user-defined connection mapping - added
list_warehouse_tables()
method tomstrio.modeling.schema.table.warehouse_table
module to allow listing all warehouse tables from all available datasources
mstrio.distribution_services.contact
module is deprecated and is moved tomstrio.users_and_groups
subpackagemstrio.distribution_services.contact_group
module is deprecated and is moved tomstrio.users_and_groups
subpackagemstrio.access_and_security.security_filter
subpackage is deprecated and replaced bymstrio.modeling.security_filter
andmstrio.modeling.expression
subpackages
- added
Filter
class inmstrio.modeling.filter
subpackage to allow filter management - added
list_filters
to allow listing of filters - turned off certificate verification when using
get_connection
- added possibility for passing
project_name
instead ofproject_id
in the functions that were allowing onlyproject_id
before.
- added
LogicalTable
,PhysicalTable
andWarehouseTable
classes inmstrio.modeling.schema.tables
module to allow table management. - added
list_logical_tables()
,list_physical_tables()
andlist_datasource_warehouse_tables()
,list_namespaces()
to allow for listing of and searching the project for specific tables.
- added
search_pattern
andproject_id
parameters in object listing functions - added
move
methods toFolder
,Object
,SecurityFilter
,Attribute
,Fact
,UserHierarchy
,Report
,Shortcut
,SearchObject
,Document
andDossier
to allow moving objects between folders - added
create_copy
method toSecurityFilter
,Attribute
,Fact
,UserHierarchy
,Report
,Shortcut
,SearchObject
,Document
andDossier
name_begins
parameter is deprecated in functions listing cubes and reports in favour ofname
parameter
- added
Fact
class inmstrio.modeling.schema.fact
subpackage to allow fact management - added
list_facts
to allow listing of facts
- added
Attribute
class inmstrio.modeling.schema.attribute
subpackage to allow attribute management - added
AttributeForm
class inmstrio.modeling.schema.attribute_form
subpackage to allow attribute form management - added
list_attributes
to allow listing of attributes - added
list_functions
inmstrio.modeling.expression
subpackage to allow listing of functions - added
fact_expression
,expression
,expression_nodes
,parameters
anddynamic_date_time
modules inmstrio.modeling.expression
subpackage to allow management of fact expressions
- Changed
ExecutionMode
elements fromASYNCH_CONNECTION
toASYNC_CONNECTION
and fromASYNCH_STATEMENT
toASYNC_STATEMENT
- refactored
examples
intocode_snippets
folder, with changes to make them more easily usable in MicroStrategy Workstation - renamed folder
workstation_demos
intoworkflows
- added
SchemaManagement
class inmstrio.modeling
subpackage to allow schema management - added
UserHierarchy
class inmstrio.modeling
subpackage to allow user hierarchy management Migration
module is available now as a Functionality Preview- added function
list_user_hierarchies
to allow listing of objects of newly created classUserHierarchy
- added
Contact
class inmstrio.distribution_services.contact
subpackage to allow contact management - added
ContactGroup
class inmstrio.distribution_services.contact_group
subpackage to allow contact group management - added
Device
class inmstrio.distribution_services.device
subpackage to allow device management - added
Transmitter
class inmstrio.distribution_services.transmitter
subpackage to allow transmitter management - added functions
list_contact
,list_contact_groups
,list_devices
,list_transmitters
to allow listing of objects of newly created classes - added
Migration
class inmstrio.object_management.migration
for migration related functionalities. This feature is still work in progress, and it will be completed by 03.2022. - added
PackageConfig
class inmstrio.object_management.migration
with supportingPackageSettings
andPackageContentInfo
used for configuring migration - extended
Event
class inmstrio.distribution_services.event
with functionalities to create, update and delete events.
- added delete functionality to
Document
,Dossier
andReport
classes - change
Connection
object to automatically renew the connection or reconnect when the session becomes inactive if authenticated with login and password - deprecate
Connection
object attributesession
and renamed it into_session
, making it private - add the following HTTP requests methods to
Connection
object:get
,head
,post
,put
,delete
,patch
- added
CacheUpdateSubscription
class tosubscription
module
- return specific type of subscription object when using
list_subscriptions
- inner structure of
mstrio.distribution_services.subscription
was changed. Please make sure to import frommstrio.distribution_services
ormstrio.distribution_services.subscription
at most, since anything deeper is considered internal implementation details and not guaranteed to remain stable - added arguments
user
anduser_group
to functionlist_security_filters
to allow filtering results by user or user group - added method
list_security_filter
and propertysecurity_filters
toUserGroup
class - added method
list_security_filter
and propertysecurity_filters
toUser
class
- added
job_monitor
module withlist_jobs
,kill jobs
,kill_all_jobs
functions andJob
class - added
Object
class inmstrio.object_management
subpackage to allow object management - added
list_objects
function to allow listing objects by type - added
Folder
class inmstrio.object_management
subpackage to allow folder management - added
list_folders
,get_my_personal_objects_contents
,get_predefined_folder_contents
functions to allow listing folders and getting contents of particular folders - added enum
PredefinedFolders
with all available values of pre-defined folders - added
quick_search
,quick_search_from_object
,get_search_suggestions
functions that use the stored results of the Quick Search engine to return search results and suggestions - added
full_search
which usesstart_full_search
andget_search_results
, that can be used to search the metadata for objects in a specific project that match specific search criteria - added
list_dependencies
andlist_dependents
methods to most of the classes that provide information about dependence of an object - added
Shortcut
class inmstrio.object_management
subpackage
- changed
Subscription
class to now useContent
andDelivery
objects instead of dicts - changed owner field of
Subscription
toUser
objects - changed all date fields to
datetime
objects - improved filtering performance in listing objects functions
- Term
application
deprecated (see section 'Deprecated'), and renamed in method names, method arguments, file names, class names toproject
(see notebooks in 'examples', and demo scripts in 'demos' for details). Examples:list_applications()
renamed tolist_projects()
application
,application_name
,application_id
renamed toproject
,project_name
,project_id
mstrio.server.application
renamed tomstrio.server.project
Application
renamed toProject
- Updated notebook examples and demo scripts in 'examples' and 'demos' folders
- changed
certified_info
field ofReport
andDocument
from dict toCertifiedInfo
object - added parameter
propagate_to_children
to methods inACLMixin
class acg
property of an object now use aRights
enumacl
property of an object now use a new classACE
extended_type
property of an object now use aExtendedType
enum
- fixed server memory settings issues when converting
- fixed server settings configuration for I-Server version prior to 11.3.0
- fixed bug where list_subscription is limiting data to 1000 results only
- fixed
Styler
object being returned instead ofDataFrame
innodes_topology
andservices_topology
methods inCluster
class
application
,application_name
,application_id
parameters/attributes- functions having a term 'application' in their definition
- modules having a term 'application' in their name
- class names having a term 'application' in their definition In all of above-mentioned changes, a new term is 'project'
mstrio.browsing
is deprecated and is superseded withmstrio.object_management.search_operations
subpackage,SearchType
enum is nowSearchPattern
- added
Schedule
class inmstrio.distribution_services.schedule
subpackage - added
ScheduleTime
class inmstrio.distribution_services.schedule
subpackage, local object used for specifying time related properties of schedule - added
Event
class inmstrio.distribution_services.event
subpackage - changed
Subscription
class to now useSchedule
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 functionlist_security_filters
inmstrio.access_and_security.security_filter
subpackage - added
Qualification
class inmstrio.access_and_security.security_filter
subpackage which is an object used to represent qualification of security filter - added classes
PredicateBase
,PredicateForm
,PredicateElementList
,PredicateFilter
,PredicateJointElementList
andLogicOperator
inmstrio.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
andConstantArrayParameter
inmstrio.access_and_security.security_filter
subpackage to represent parameters used inAttributeForm
- fixed urllib3 dependency installing incompatible version
- fixed GUI login to be case-insensitive
mstrio.admin.schedule
is deprecated and superseded withmstrio.distribution_services.schedule
subpackageschedules
replace argumentschedules_id
increate
andalter
, methods ofSchedule
classmstrio.distribution_services.schedule.ScheduleManager
is now deprecated, usemstrio.distribution_services.schedule.list_schedules()
instead- removed features deprecated in release 11.3.1.101 and aliases allowing for backward compatibility
- 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
andPermissions
- implemented
Node
class to be used for node management in place of a raw dict - added
CubeCache
class inmstrio.application_objects.datasets
subpackage - updated method
load_cube
to load cube by name - added functions
list_cube_caches
,delete_cube_caches
anddelete_cube_cache
- added methods
create
,update
,get_sql_view
andpublish
for class OlapCube - added method
unpublish
available for classesOlapCube
andSuperCube
- added
list_reports
function toReport
module - added
alter
andlist_properties
methods toReport
class
- fixed custom cell collapsing at re-run at certain conditions
- fixed wrong object type for
Entity.__init__()
method - fixed
KeyError:'body'
when executingupdate_properties
on an object - fixed
TypeError: unhashable type:'dict'
after accessingattr_elements
ofCube
- fixed
mstrio.dataset
modulepublish
method sending requests too frequently to the REST API
id
replaces fieldreport_id
inReport
class
- added
SuperCube
andOlapCube
classes inmstrio.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 toConnection
class - added missing parameters
trust_id
anddatabase_auth_login
inuser.alter()
method
- 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 inCube
class #39
mstrio.admin
subpackage is deprecated and its modules are moved according to new structuremstrio.cube
andmstrio.dataset
are deprecated and are superseded byOlapCube
andSuperCube
fromapplication_objects.datasets
subpackagemstrio.report
andmstrio.library
modules are deprecated and are moved toapplication_objects
subpackagedate_modified
andid
replace parameters/attributescube_id
andlast_modified
in newSuperCube
andOlapCube
classesproject_id
andproject_name
parameters/attributes are deprecated across the package in favor ofapplication_id
andapplication_name
- updated example links in readme.md file
- added
admin
subpackage withuser
,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
anddocument
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 settingproject_id
orproject_name
- added UI-generated Custom Jupyter Cells which allow for Python Code edition and use mainly via UI, Buttons and Interactive Button-like Elements
- improved GUI stability in Data Modelling
- improved Safari compatibility
- resolved import issues with OLAP cubes
- resolved edge case general issues in import and export
add
,update
,upsert
update methods are not supported anymore when overwriting cube and will throwValueError
exception
- improved performance for downloading Reports / Cubes with view filter
- automatically remove the
Row Count
column from the imported datasets - extend
Connection
class with theidentity_token
param to allow for delegated authentication - added support for operator
NotIn
in view filter - added
instance_id
parameter in theReport
/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
andsave_as
- improved overall user experience in the GUI
- fixed critical compatibility issue with 11.1.x environments
- various UI fixes
- Release has been yanked due to compatibility issue with 11.1.x environments
- introduced functionality for updating existing Cubes
- improved fetching performance by up to 50%
- added support for cross-tabbed Reports
- added support for Reports with subtotals
- added basic support for Reports with attribute forms
- extended
Dataset
class with thecertify()
method - implemented asynchronous download of Cubes and Reports
- applied revamped MicroStrategy REST API import-related endpoints
- reworked GUI’s data modeling functionality
- fixed issues with Cube / Report filtering during import
- improved user experience for the GUI's login page
- added handling of various forms of environment's base URL
- resolved issues with importing / exporting Datasets containing special characters
- optimized downloading speed for filtered Reports
- improved performance when downloading unfiltered Cubes / Reports
- improved performance when filtering by attributes and metrics
- added
Cube
andReport
classes to provide more flexibility when interacting with Cubes and Reports. These new classes provide the ability to select attributes, metrics, and attribute elements before importing them to Python aspandas
DataFrames - added
Dataset
class that allows defining and creating multi-table cubes from multiple DataFrames, with improved data upload scalability, and the ability to define the Dataset within a specific folder - introduced graphical user interface to access the MicroStrategy environment using interactive Jupyter Notebook add-in
- ensured session cookies are passed when closing the connection
- minor bug fixes
- initial PyPI release (25 July 2018)