m-kovalsky / fabric_cat_tools

Supercharge your Microsoft Fabric development with the fabric_cat_tools library
MIT License
100 stars 14 forks source link

Can we extract show_unsupported_direct_lake_objects() output!? #14

Closed cvlmonica closed 1 month ago

cvlmonica commented 1 month ago

For a given import/directquery semantic model I am trying to capture the unsupported objects in direct lake mode using the function show_unsupported_direct_lake_objects().

I get to see the output but is there any way to convert it into dataframe or load into a table? is there anyway to capture the output!?

m-kovalsky commented 1 month ago

I will update the function so that it outputs 3 dataframes instead of displaying them. Then, users can opt to display them or store them if so desired.

The new syntax will be like this.

dfT, dfC, dfR = fct.show_unsupported_direct_lake_objects(dataset = dataset_name, workspace = workspace_name)

# Optional to display each dataframe
display(dfT)
display(dfC)
display(dfR)
cvlmonica commented 1 month ago

Thank you so much that will be really helpful. Please do let me know once the function is updated.

m-kovalsky commented 1 month ago

It will be available in the next release, stay tuned.

cvlmonica commented 1 month ago

Thank you so much for the information and quick response!