-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: Add support for key-value pair IR format serialization and deserialization. #86
feat: Add support for key-value pair IR format serialization and deserialization. #86
Conversation
":param buffer_size_limit: Threshold of how much serialized data to buffer before flushing" | ||
" it to `output_stream`. Defaults to 64 KiB.\n" | ||
":type buffer_size_limit: int\n" | ||
":rtype: int\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving a comment so I remember to check this.
":param allow_incomplete_stream: If set to `True`, an incomplete CLP IR stream is not" | ||
" treated as an error.\n" | ||
":type allow_incomplete_stream: bool\n" | ||
":rtype: int\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self
Co-authored-by: kirkrodrigues <[email protected]>
Co-authored-by: kirkrodrigues <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving only the docstrings for Serializer, Deserializer, and KeyValuePairLogEvent.
References
Description
This PR adds support for key-value pair IR format serialization and deserialization:
Serializer
for IR serializationDeserializer
for IR deserializationKeyValuePairLogEvent
for storing deserialized log eventsValidation performed
Debug
build in Python 3.10 debug build + address sanitizer, ensure no errors/warnings caused by our implementation