Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixes parallelism action() typos #459

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/concepts/parallelism.rst
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ This looks as follows:

class TestMultiplePromptsWithSubgraph(MapStates):

def action(self) -> Action | Callable | RunnableGraph:
def action(self, state: State, inputs: Dict[str, Any]) -> Action | Callable | RunnableGraph:
return runnable_graph

@property
Expand Down Expand Up @@ -478,7 +478,7 @@ Specifying it as part of the action -- will override the global executor (note t

class TestMultiplePrompts(MapStates):

def action(self) -> Action | Callable | RunnableGraph:
def action(self, state: State, inputs: Dict[str, Any]) -> Action | Callable | RunnableGraph:
return runnable_graph

def executor(self) -> Executor:
Expand Down Expand Up @@ -533,7 +533,7 @@ You can also disable it globally using the application builder:

class TestMultiplePrompts(MapStates):

def action(self) -> Action | Callable | RunnableGraph:
def action(self, state: State, inputs: Dict[str, Any]) -> Action | Callable | RunnableGraph:
return runnable_graph

def tracker(self, context) -> TrackingBehavior | None:
Expand Down
Loading