Skip to content

Conversation

@gangeshwark
Copy link
Contributor

This pull request updates the type annotations for the grouped_by field in two usage-related model classes to allow for None values in the dictionary values. This change ensures that the models can represent cases where some grouping keys may not have a value.

Model updates for grouping support:

  • Updated the grouped_by field in the GroupedUsage class in customer_usage.py to use Dict[str, str | None], allowing grouping values to be None.
  • Updated the grouped_by field in the ProjectedGroupedUsage class in customer_projected_usage.py to use Dict[str, str | None], allowing grouping values to be None.

@jdenquin jdenquin merged commit 8f813ea into getlago:main Sep 22, 2025
6 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