Skip to content

Changing DAXLib update to add_or_update#1079

Open
edwardpcharles wants to merge 1 commit intomicrosoft:mainfrom
edwardpcharles:patch-2
Open

Changing DAXLib update to add_or_update#1079
edwardpcharles wants to merge 1 commit intomicrosoft:mainfrom
edwardpcharles:patch-2

Conversation

@edwardpcharles
Copy link

Renamed function from 'update_package_in_semantic_model' to 'add_or_update_package_in_semantic_model' and removed package existence check for update.

Right now, I am having to use the TOM package to see if package exists and then go add or update which looking at the source code seems to be a bit duplicative.

I do not think someone will call an update function on a semantic model if they don't want the semantic model to have the function.

Renamed function from 'update_package_in_semantic_model' to 'add_or_update_package_in_semantic_model' and removed package existence for update. 

Right now, I am having to use the TOM package to see if package exists and then go add or update which looking at the source code seems to be a bit duplicative. 

I do not think someone will call an update function on a semantic model if they don't want the semantic model to have the function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant