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

Allow to return tuples instead of Records in Python agents #391

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

cbornet
Copy link
Member

@cbornet cbornet commented Sep 10, 2023

Also remove the dependency of langstream_runtime module on langstream.

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.

LGTM

@eolivelli
Copy link
Member

eolivelli commented Sep 11, 2023

A couple of questions before committing:
is this a backward compatible change ?
should we update the docs ? (in this case please add a label “needs-doc”)

@@ -29,31 +29,31 @@ def __init__(
self,
value,
key=None,
headers: List[Tuple[str, Any]] = None,
Copy link
Member Author

Choose a reason for hiding this comment

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

Small breaking change here for consistency.
Only affects if you were using positional args and not named ones.

@eolivelli eolivelli merged commit 072b0ac into main Sep 11, 2023
8 checks passed
@eolivelli eolivelli deleted the python-records-as-tuple branch September 11, 2023 07:26
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants