MicroStrategy / mstrio-py

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

Create_dataset() folderId selector disabled #14

Closed YouriFC closed 4 years ago

YouriFC commented 5 years ago

Currently, every dataset/table created by create_dataset() defaults to 'My Reports' with no way to change it. In enterprise use-cases, this has severe limitations.

Since the MSTR API supports folderId selection , is this something that can safely be added to the create_dataset method?

It's a very minor code-change, and it worked without issues when I made the changes locally. To my knowledge, other methods are unaffected. I can add it to my fork and make a pull request, but if there are implications I am unaware of that'd be waste of time.

Let me know.

drzamich commented 4 years ago

Hello @YouriFC. Since mstrio-py version 11.1.4.002 you can use the Dataset class to export data to MicroStrategy. Simply pass the folder_id parameter to the Dataset.create() method.