MicroStrategy / mstrio-py

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

list_physical_tables Physical Tables are duplicated in the result when there are Logical Tables Alias #101

Closed hustontrevor closed 2 years ago

hustontrevor commented 2 years ago

https://github.com/MicroStrategy/mstrio-py/blob/f63a1193b25a876b6621e919987f9a678e6a1fdb/mstrio/modeling/schema/table/physical_table.py#L77

In the dict result I have the exact same entry (same id and version_id) five times, once for each of the logical table aliases in my project.

conn_IR = Connection(base_url_dev, username_dev, password_dev, ssl_verify=False, project_id='1C1D6E65904B55AB179559AC2D4DD63F')

physical_tables = list_physical_tables(connection=conn_IR, to_dictionary=True)
urszulajaczewska commented 2 years ago

Hi @hustontrevor, we've logged the defect and will investigate this issue.

urszulajaczewska commented 2 years ago

@hustontrevor issue has been resolved and fix will be available with next release.