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

Add Protobuf Message Type Support to Python API #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cosineai[bot]
Copy link

@cosineai cosineai bot commented Nov 13, 2024

This pull request introduces support for Protobuf message types in the Python API by adding a built-in serializer in the core module. This enhancement aligns the Python API with the .NET API, which already uses Protobuf message types, facilitating cross-language compatibility.

Changes include:

  • Importing necessary Protobuf modules.
  • Defining a new ProtobufMessageSerializer class to handle serialization and deserialization of Protobuf messages.
  • Updating the try_get_known_serializers_for_type function to include the new Protobuf serializer when applicable.

These changes ensure that Protobuf message types can be seamlessly serialized and deserialized within the Python API, promoting interoperability across different programming environments.


Created by Genie. You can follow its reasoning on Cosine

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.

0 participants