Repository navigation
fix(cli): features --source accepts every GIFT_SOURCES preset - #354
Merged
shivamlalakiya merged 3 commits intoNov 4, 2026
Merged
Conversation
Wire features choices and _cmd_features through ingest.read_gifts / GIFT_SOURCES so bloomerang, donorperfect, and blackbaud_crm work like the library API. Leave train/check on the four _FEATURE_SOURCES until PhilanthroPy-Project#337. Test that argparse accepts every GIFT_SOURCES name. Fixes PhilanthroPy-Project#338
Contributor
|
Thanks for picking this up, and for claiming it on #338 first. The change is right:
One small optional change: the module-level Once CI is green, this is ready to merge. |
3 tasks done
5 tasks
This was referenced Nov 4, 2026
AI-assisted review follow-up using OpenAI Codex.
Contributor
|
Thanks for the follow-up, this is good to go: |
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow philanthropy features --source to accept every GIFT_SOURCES preset through read_gifts, while retaining the existing source restrictions for train/check. Merge current main (b63242a), add the required Unreleased Fixed changelog entry and contributor credit and import GIFT_SOURCES lazily inside _build_parser as suggested in review.
Follow-up validation on Linux: all 49 CLI tests pass; all 3,097 project tests collect; full Flake8 over philanthropy/tests/examples and git diff --check pass. The project credit guard also passes, and all feature-related CLI tests pass again after the final update. The full project suite was not rerun for this follow-up; the original and current hosted checks are reported separately. Five existing low-confidence-data warnings occurred in CLI tests.
Closes #338.
AI assistance: the original PR was submitted with AI assistance. This review follow-up was inspected and validated with OpenAI Codex at the account owner's request. No independent human review is claimed.