-
Notifications
You must be signed in to change notification settings - Fork 4
Add org_pay_per_visit field to OpportunityDataExportSerializer #840
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
Add org_pay_per_visit field to OpportunityDataExportSerializer #840
Conversation
This adds the org_pay_per_visit field to the data export serializer, allowing it to be included in opportunity data exports.
WalkthroughAdds a new SerializerMethodField Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code graph analysis (1)commcare_connect/data_export/serializer.py (1)
🪛 Ruff (0.14.5)commcare_connect/data_export/serializer.py34-34: Mutable class attributes should be annotated with (RUF012) 49-49: Mutable class attributes should be annotated with (RUF012) 🔇 Additional comments (3)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai generate docstrings |
✅ Actions performedInitiated docstring generation; will generate only if new commits exist. |
|
Note Docstrings generation - SUCCESS |
…alizer-2aa4` Docstrings generation was requested by @jjackson. * #840 (comment) The following files were modified: * `commcare_connect/data_export/serializer.py`
|
I don't merge in directly so can you merge, thanks! |
hemant10yadav
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the CI/linter was failing. I recommend installing the git hook see the instructions here — that way you’ll see the linting errors before committing. I’ve already fixed it for this PR.
This adds the org_pay_per_visit field to the data export serializer, allowing it to be included in opportunity data exports.
AI Generated by Cursor