Skip to content

Store cleaned data and raw data when the excell file is imported. #188

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

datamik
Copy link
Contributor

@datamik datamik commented Jul 30, 2025

Update flex_fields with cleaned_data on every validation
https://dev.azure.com/unicef/ICTD-HCT-MIS/_workitems/edit/265154

Legal Boilerplate

Look, I get it.
Contributing to HOPE Workspace, I retain all rights, title and interest in and to my contributions, and by keeping
this boilerplate intact I confirm that HOPE Workspace can use, modify, copy, and redistribute my contributions,
under HOPE's choice of terms.

@datamik datamik force-pushed the feature/store-cleaned-data-when-importing-from-excel branch from 470e363 to 1a70a19 Compare July 31, 2025 14:27
Update flex_fields with cleaned_data on every validation
@datamik datamik force-pushed the feature/store-cleaned-data-when-importing-from-excel branch from 1a70a19 to 4528411 Compare July 31, 2025 14:28
Copy link

codecov bot commented Aug 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.53%. Comparing base (49f6d67) to head (4528411).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #188   +/-   ##
========================================
  Coverage    95.53%   95.53%           
========================================
  Files          181      181           
  Lines         5757     5759    +2     
  Branches       521      521           
========================================
+ Hits          5500     5502    +2     
  Misses         156      156           
  Partials       101      101           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@datamik datamik marked this pull request as ready for review August 1, 2025 09:52
@datamik datamik requested a review from saxix as a code owner August 1, 2025 09:52
job.program.households.create(
batch=batch,
name=label,
Household.objects.create(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it will looks better?

batch.household_set.create(
      name=str(label),
      flex_fields=flex_fields,
      raw_data=flex_fields,
),

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.

3 participants