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

Fix Python agent read when an error is raised #732

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Fix Python agent read when an error is raised #732

merged 1 commit into from
Nov 21, 2023

Conversation

cbornet
Copy link
Member

@cbornet cbornet commented Nov 21, 2023

The iterator method and context read/write APIs can't be mixed.
So this PR changes to use only the context API in read operation.
Also simplifies the tests by using the context API when it's easier than the iterator.

Copy link
Member

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

+1

@cbornet cbornet merged commit 598caf7 into main Nov 21, 2023
10 checks passed
@cbornet cbornet deleted the fix-read branch November 21, 2023 20:48
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
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