Skip to content

Fix dependency injection example in Graphs docs #1240

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

Merged
merged 4 commits into from
Apr 30, 2025
Merged

Conversation

derluke
Copy link
Contributor

@derluke derluke commented Mar 26, 2025

The provided example didn't run for me. With these changes the output is as expected

The provided example didn't run for me. With these changes the output is as expected
Copy link
Contributor

hyperlint-ai bot commented Mar 26, 2025

PR Change Summary

Updated the graph example to ensure it runs correctly and produces the expected output.

  • Added FullStatePersistence to the graph run method
  • Updated the output history to reflect the new persistence structure

Modified Files

  • docs/graph.md

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@DouweM
Copy link
Contributor

DouweM commented Apr 30, 2025

@derluke Can you please have a look at the failing tests?

@DouweM DouweM assigned DouweM and unassigned samuelcolvin Apr 30, 2025
@derluke
Copy link
Contributor Author

derluke commented Apr 30, 2025

I don't know what happened. Retriggered the tests 👍

@DouweM DouweM changed the title Update graph.md Fix dependency injection example in Graphs docs Apr 30, 2025
@DouweM DouweM merged commit 7d613c5 into pydantic:main Apr 30, 2025
19 checks passed
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.

4 participants