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

Dynamic validation for streaming endpoints #133

Merged
merged 6 commits into from
Oct 31, 2023

Conversation

eyurtsev
Copy link
Collaborator

@eyurtsev eyurtsev commented Oct 31, 2023

  • Add test to verify that client side errors are now raised for streaming endpoints
  • Add more tests to verify that config and inputs are being validated properly -- or introduce more pydantic models

@cla-bot cla-bot bot added the cla-signed label Oct 31, 2023
@eyurtsev eyurtsev requested a review from nfcampos October 31, 2023 02:54
@@ -483,7 +483,7 @@ async def test_astream_log(async_client: RemoteRunnable) -> None:
],
[{"op": "replace", "path": "/final_output", "value": {"output": 2}}],
[{"op": "add", "path": "/streamed_output/-", "value": 2}],
]
er
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks like a typo?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

most definitely :)

@eyurtsev eyurtsev requested a review from nfcampos October 31, 2023 15:24
@eyurtsev eyurtsev merged commit 43df917 into main Oct 31, 2023
@eyurtsev eyurtsev deleted the eugene/add_input_validation_streaming branch October 31, 2023 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants