MicroStrategy / mstrio-py

Python integration for MicroStrategy
Apache License 2.0
90 stars 59 forks source link

LogicalTable Alter is_logical_size_locked not working #122

Closed Vickoh closed 1 year ago

Vickoh commented 1 year ago

LogicalTable(connection=conn, id="ID",project_id=conn.project_id).alter(is_logical_size_locked=True)

Fix On logical_table.py:

Change: is_logical_size_locked: Optional[str] = None To: is_logical_size_locked: Optional[bool] = None,

On _API_PATCH add is_logical_size_locked: _API_PATCH: dict = { ( "name", "description", "logical_size", "is_logical_size_locked", "is_true_key", "primary_data_source", "enclose_sql_in_parentheses", "physical_table", "secondary_data_sources", ): (tables_api.patch_table, "partial_put"), "folder_id": (objects.update_object, "partial_put"), }

urszulajaczewska commented 1 year ago

Hi @Vickoh, we've logged a defect for it. We'll update this issue when a fix is available.

urszulajaczewska commented 1 year ago

@Vickoh fix is now available with new 11.3.9.103 release.