Skip to content

validate data using len #240

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 12 commits into
base: master
Choose a base branch
from
Open

Conversation

salah93
Copy link

@salah93 salah93 commented May 26, 2025

What does this PR do?

fixes #236

  • utility methods for validating data

  • validate len of event names/data from central function

  • formatting

  • add missing import

  • add missing constant

  • [-] If you have changed dependencies, ensure both requirements.txt and setup.py have been updated

CHANGELOG

  • [CHANGED] use len to determine size of data rather than sys.getsizeof

@salah93 salah93 marked this pull request as draft May 26, 2025 02:50
@salah93 salah93 marked this pull request as ready for review May 26, 2025 03:07
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.

Incorrect usage of sys.getsizeof to calculate the byte size of event data
1 participant