2727
2828
2929class Types [T : StateProtocol , S : SharedProtocol ]:
30+ """
31+ Typeguards for runtime typechecking.
32+ """
3033
3134 @classmethod
3235 def is_node_tupel (cls , edge : tuple [Any , ...]) -> TypeGuard [NodeTupel [T , S ]]:
@@ -107,7 +110,7 @@ class Config(BaseModel):
107110 Configuration for the edge.
108111
109112 Attributes:
110- instant: If the edge should be executed parallel to the source node. Instant edges are traversed recursively. Be sure to avoid infinite loops.
113+ instant: If the edge should be executed parallel to the source node. Instant edges are traversed recursively. Make sure to avoid infinite loops.
111114 """
112115
113116 instant : bool = False
@@ -125,13 +128,13 @@ class ErrorConfig(BaseModel):
125128
126129class BaseEntry [T : StateProtocol , S : SharedProtocol ](BaseModel ):
127130 """
128- Base class for the values of edge indexing dictionaries of the graph .
131+ Base class for the values of edge indexing dictionaries of a branch .
129132
130133 Do not instantiate directly.
131134
132135 Attributes:
133136 next: The unresolved targets of the edge.
134- index: The original index of the entry in the list of edges.
137+ index: The original index of the entry in the list of edges of the branch .
135138 """
136139
137140 next : Next [T , S ]
@@ -145,7 +148,7 @@ def model_post_init(self, __context: Any):
145148
146149class Entry [T : StateProtocol , S : SharedProtocol ](BaseEntry [T , S ]):
147150 """
148- A value of the edge indexing dictionary of the graph .
151+ A value of the edge indexing dictionary of a branch .
149152
150153 Attributes:
151154 next: The unresolved targets of the edge.
@@ -157,7 +160,7 @@ class Entry[T: StateProtocol, S: SharedProtocol](BaseEntry[T, S]):
157160
158161class ErrorEntry [T : StateProtocol , S : SharedProtocol ](BaseEntry [T , S ]):
159162 """
160- A value of the error edge indexing dictionary of the graph .
163+ A value of the error edge indexing dictionary of a branch .
161164
162165 Attributes:
163166 next: The unresolved targets of the edge.
0 commit comments