Skip to main content

process_pubsub.py

Source: sunholo/pubsub/process_pubsub.py

Functions

process_pubsub_message(data: dict) -> tuple

Extracts message data and metadata from a Pub/Sub message.

Args: data (dict): The Pub/Sub message data.

Returns: tuple: A tuple containing the message data and attributes as metadata.

Sunholo Multivac

Get in touch to see if we can help with your GenAI project.

Contact us

Other Links

Sunholo Multivac - GenAIOps

Copyright ©

Holosun ApS 2024