ConfirmAction message formatting
This commit is contained in:
@ -71,7 +71,7 @@ async def build_chain(dogs: list[Dog]) -> ChainedAction:
|
||||
ConfirmAction(
|
||||
name="test_confirm",
|
||||
message="Do you want to process the dogs?",
|
||||
confirm_type="yes_no",
|
||||
confirm_type="yes_no_cancel",
|
||||
return_last_result=True,
|
||||
inject_into="dogs",
|
||||
),
|
||||
@ -88,6 +88,7 @@ async def build_chain(dogs: list[Dog]) -> ChainedAction:
|
||||
factory = ActionFactory(
|
||||
name="Dog Post Factory",
|
||||
factory=build_chain,
|
||||
preview_kwargs={"dogs": ["Buddy", "Max"]},
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user