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

Feature / Update Python validation to support optional id in update data #793

Conversation

Jerry-Jinfeng-Guo
Copy link
Contributor

@Jerry-Jinfeng-Guo Jerry-Jinfeng-Guo commented Oct 17, 2024

This PR updates the validation logic required for #771, which is the implementation of step 7 in issue #548

  • Revert the mark as fail
  • Update logic for checking
  • New unit test for valid_ids
    • uniform update
    • non-uniform update

Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
@Jerry-Jinfeng-Guo Jerry-Jinfeng-Guo added the feature New feature or request label Oct 17, 2024
@Jerry-Jinfeng-Guo Jerry-Jinfeng-Guo self-assigned this Oct 17, 2024
@Jerry-Jinfeng-Guo Jerry-Jinfeng-Guo added the do-not-merge This should not be merged label Oct 18, 2024
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
Jerry-Jinfeng-Guo and others added 5 commits October 18, 2024 14:16
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
@mgovers mgovers mentioned this pull request Oct 23, 2024
27 tasks
Jerry-Jinfeng-Guo and others added 4 commits October 23, 2024 13:11
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
@Jerry-Jinfeng-Guo Jerry-Jinfeng-Guo marked this pull request as ready for review October 24, 2024 05:44
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
src/power_grid_model/_utils.py Show resolved Hide resolved
src/power_grid_model/_utils.py Show resolved Hide resolved
src/power_grid_model/_utils.py Outdated Show resolved Hide resolved
src/power_grid_model/_utils.py Outdated Show resolved Hide resolved
src/power_grid_model/validation/errors.py Show resolved Hide resolved
Jerry-Jinfeng-Guo and others added 4 commits October 25, 2024 10:03
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
figueroa1395
figueroa1395 previously approved these changes Oct 25, 2024
@nitbharambe nitbharambe added this pull request to the merge queue Oct 28, 2024
@figueroa1395 figueroa1395 removed this pull request from the merge queue due to a manual request Oct 28, 2024
@figueroa1395
Copy link
Contributor

@nitbharambe The PR is marked as do not merge.

Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Copy link

@Jerry-Jinfeng-Guo Jerry-Jinfeng-Guo changed the base branch from main to feature/columnar-data-support-no-id-field October 28, 2024 12:35
@TonyXiang8787 TonyXiang8787 removed the do-not-merge This should not be merged label Oct 28, 2024
@TonyXiang8787 TonyXiang8787 merged commit 1ccd250 into feature/columnar-data-support-no-id-field Oct 28, 2024
26 checks passed
@TonyXiang8787 TonyXiang8787 deleted the feature/update-python-validation-to-support-optional-id-input branch October 28, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants