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

[Module-2 Lesson-3] Multiple Schemas: insufficient example #49

Open
tanmay17061 opened this issue Oct 27, 2024 · 0 comments · May be fixed by #50
Open

[Module-2 Lesson-3] Multiple Schemas: insufficient example #49

tanmay17061 opened this issue Oct 27, 2024 · 0 comments · May be fixed by #50

Comments

@tanmay17061
Copy link

tanmay17061 commented Oct 27, 2024

Hi,
At the end of the notebook multiple-schemas.ipynb, the markdown reads:

We use type hints below to, for example, show that the output of answer_node will be filtered to OutputState.

However, the following code cell demonstrates an insufficient example to showcase this filtering:

def answer_node(state: OverallState) -> OutputState:
    return {"answer": "bye Lance"}

No filtering happens in this example, as OutputState has the same key (answer) as the returned dict.

@tanmay17061 tanmay17061 linked a pull request Oct 27, 2024 that will close this issue
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 a pull request may close this issue.

1 participant