Skip to content

Conversation

@rhunwicks
Copy link
Contributor

No description provided.

@rhunwicks rhunwicks requested a review from Copilot September 25, 2025 22:22
@rhunwicks rhunwicks self-assigned this Sep 25, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a data loading issue by properly defaulting empty activity_type values to the correct enum value for LivelihoodActivityLabel models.

  • Adds proper handling for empty activity_type fields in metadata loading
  • Sets the default value to ActivityLabel.LivelihoodActivityType.LIVELIHOOD_ACTIVITY instead of leaving empty strings

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@rhunwicks rhunwicks merged commit f1c10f7 into main Sep 25, 2025
11 checks passed
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