Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unwind consolidations in hier update #1188

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

MariusWirtz
Copy link
Collaborator

@Mr-SabyasachiBose I squashed your commits into a single one 1590311 and added an additional one on top af25b76
Please review my changes and approve the PR.

Encouraged by your join addition to the CaseAndSpaceInsensitiveset class, I updated and made the three utility classes a bit more powerful.

I also added test cases for the new unwind_consolidations feature.

for update_or_create_hierarchy_from_dataframe function

Currently update_or_create_hierarchy_from_dataframe() allows complete unwinding of hierarchy, but not specific unwinding for consolidations.

The code change would allow a list of elements to be specified a parameter so selective unwinding is allowed.

This change also replace the param unwind with unwind_all, used for same purpose. Function is updated to be backward compatible so, using unwind would map the value to unwind_all and continue unwinding the entire hierarchy when True.
Copy link

github-actions bot commented Nov 1, 2024

Tests completed for environment: tm1-11-cloud. Check artifacts for details.

@MariusWirtz MariusWirtz force-pushed the unwind-consolidations-in-hier-update branch from af25b76 to ed0f28c Compare November 1, 2024 20:08
Copy link

github-actions bot commented Nov 1, 2024

Tests completed for environment: tm1-11-cloud. Check artifacts for details.

@MariusWirtz MariusWirtz merged commit 20bfffd into master Nov 12, 2024
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.

2 participants