Skip to content

Conversation

NeonDaniel
Copy link
Member

@NeonDaniel NeonDaniel commented Dec 10, 2024

Description

Add MQResponse model to define parameters used for multi-part response handling

Issues

Implements responses documented in NeonGeckoCom/neon_mq_connector#101

Other Notes



class MQResponse(MQContext):
is_final: bool = Field(default=True, alias="_is_final",

Choose a reason for hiding this comment

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

Does it mean that every message will have this field even if not using streaming?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ideally, yes. There's not currently anything forcing any kind of MQ message validation, but my intent is that every response message will be defined in this module and will extend this MQResponse class

@NeonDaniel NeonDaniel marked this pull request as draft May 27, 2025 23:16
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.

2 participants