Skip to content
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

Update get_mb_size util function to handle containers #9150

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

BrendanSchell
Copy link
Contributor

@BrendanSchell BrendanSchell commented Aug 8, 2024

Description

Updates get_mb_size util function to handle collection types properly.

Closes https://github.com/OpenMined/Heartbeat/issues/1714.

Affected Dependencies

List any dependencies that are required for this change.

How has this been tested?

  • Describe the tests that you ran to verify your changes.
  • Provide instructions so we can reproduce.
  • List any relevant details for your test configuration.

Checklist

Copy link
Member

@IonesioJunior IonesioJunior left a comment

Choose a reason for hiding this comment

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

Tried couple edge cases (None, nested objs and values, cyclic obj references, etc.) and worked as expected in every single one of them. Majestic work @BrendanSchell!

@IonesioJunior IonesioJunior merged commit 62e6630 into dev Aug 9, 2024
27 checks passed
@IonesioJunior IonesioJunior deleted the bschell/fix-incorrect-dataset-size branch August 9, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants