ThyTran1402 commented on code in PR #813:
URL: https://github.com/apache/burr/pull/813#discussion_r3568055263
##########
burr/integrations/pydantic.py:
##########
@@ -307,6 +314,10 @@ def _validate_and_extract_signature_types_streaming(
if stream_type is None:
# TODO -- derive from the signature
raise ValueError(f"stream_type is required for function:
{fn.__qualname__}")
+ if not _is_valid_stream_type(stream_type):
Review Comment:
Yes. That's valid. I added more tests for existing positive path and
negative path.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]