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

Add getState() function to Abstract Graph #79

Closed
PeriniM opened this issue Apr 25, 2024 · 0 comments
Closed

Add getState() function to Abstract Graph #79

PeriniM opened this issue Apr 25, 2024 · 0 comments
Assignees

Comments

@PeriniM
Copy link
Collaborator

PeriniM commented Apr 25, 2024

Return the complete final state dictionary of the graph.
So, for example it can be used as:

final_state = smart_scraper.getState()

It could be possible to add an additional arguments to directly specify the key you want from the state

urls = smart_scraper.getState(key="urls")

@VinciGit00 VinciGit00 self-assigned this Apr 25, 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

When branches are created from issues, their pull requests are automatically linked.

2 participants