Open
Conversation
|
|
||
| ### Debug Mode | ||
|
|
||
| If you want to debug a graph with a python debugger you can use [](#tierkreis.controller.storgare.debug_graph.debug_graph). |
Collaborator
There was a problem hiding this comment.
Do you need something in this [] part of the link?
| inputs_ready: list[NodeRunData] | ||
| started: list[Loc] | ||
| errored: list[Loc] = Field(default_factory=list[Loc]) | ||
| breaks: Loc | None = None |
Collaborator
There was a problem hiding this comment.
Is it significant that breaks is a single Loc rather than a list of them?
| and therefore can be started. | ||
| started (list[Loc]): A list of locations that have been started (on this walk). | ||
| errored (list[Loc]): A list of locations that have encountered an error. | ||
| """ |
Collaborator
There was a problem hiding this comment.
breaks might need to be added to the docstring?
| self, | ||
| inputs_type: type[Inputs] = EmptyModel, | ||
| outputs_type: type[Outputs] = EmptyModel, | ||
| breakpoints_on_inputs: bool = False, |
Collaborator
There was a problem hiding this comment.
I wonder if these would be better as setters and getters, the reason being that they would be easier to comment out in code if the user wants to turn them on/off
Collaborator
Author
There was a problem hiding this comment.
I agree but this would only work for ouptuts as inputs are set in the init.
Once we use the "compile" way we could change this
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run once with:
then after