@@ -336,6 +336,18 @@ <h1 class="title">Module <code>slack_bolt.workflows.step.async_step</code></h1>
336336 app_name: Optional[str] = None,
337337 base_logger: Optional[Logger] = None,
338338 ):
339+ """
340+ Args:
341+ callback_id: The callback_id for this workflow step
342+ edit: Either a single function or a list of functions for opening a modal in the builder UI
343+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.
344+ save: Either a single function or a list of functions for handling modal interactions in the builder UI
345+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.
346+ execute: Either a single function or a list of functions for handling workflow step executions
347+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.
348+ app_name: The app name that can be mainly used for logging
349+ base_logger: The logger instance that can be used as a template when creating this step's logger
350+ """
339351 self.callback_id = callback_id
340352 app_name = app_name or __name__
341353 self.edit = self.build_listener(
@@ -540,7 +552,24 @@ <h2 class="section-title" id="header-classes">Classes</h2>
540552< span > (</ span > < span > *, callback_id: Union[str, Pattern], edit: Union[Callable[..., Awaitable[< a title ="slack_bolt.response.response.BoltResponse " href ="../../response/response.html#slack_bolt.response.response.BoltResponse "> BoltResponse</ a > ]], < a title ="slack_bolt.listener.async_listener.AsyncListener " href ="../../listener/async_listener.html#slack_bolt.listener.async_listener.AsyncListener "> AsyncListener</ a > , Sequence[Callable]], save: Union[Callable[..., Awaitable[< a title ="slack_bolt.response.response.BoltResponse " href ="../../response/response.html#slack_bolt.response.response.BoltResponse "> BoltResponse</ a > ]], < a title ="slack_bolt.listener.async_listener.AsyncListener " href ="../../listener/async_listener.html#slack_bolt.listener.async_listener.AsyncListener "> AsyncListener</ a > , Sequence[Callable]], execute: Union[Callable[..., Awaitable[< a title ="slack_bolt.response.response.BoltResponse " href ="../../response/response.html#slack_bolt.response.response.BoltResponse "> BoltResponse</ a > ]], < a title ="slack_bolt.listener.async_listener.AsyncListener " href ="../../listener/async_listener.html#slack_bolt.listener.async_listener.AsyncListener "> AsyncListener</ a > , Sequence[Callable]], app_name: Optional[str] = None, base_logger: Optional[logging.Logger] = None)</ span >
541553</ code > </ dt >
542554< dd >
543- < div class ="desc "> </ div >
555+ < div class ="desc "> < h2 id ="args "> Args</ h2 >
556+ < dl >
557+ < dt > < strong > < code > callback_id</ code > </ strong > </ dt >
558+ < dd > The callback_id for this workflow step</ dd >
559+ < dt > < strong > < code > edit</ code > </ strong > </ dt >
560+ < dd > Either a single function or a list of functions for opening a modal in the builder UI
561+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.</ dd >
562+ < dt > < strong > < code > save</ code > </ strong > </ dt >
563+ < dd > Either a single function or a list of functions for handling modal interactions in the builder UI
564+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.</ dd >
565+ < dt > < strong > < code > execute</ code > </ strong > </ dt >
566+ < dd > Either a single function or a list of functions for handling workflow step executions
567+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.</ dd >
568+ < dt > < strong > < code > app_name</ code > </ strong > </ dt >
569+ < dd > The app name that can be mainly used for logging</ dd >
570+ < dt > < strong > < code > base_logger</ code > </ strong > </ dt >
571+ < dd > The logger instance that can be used as a template when creating this step's logger</ dd >
572+ </ dl > </ div >
544573< details class ="source ">
545574< summary >
546575< span > Expand source code</ span >
@@ -565,6 +594,18 @@ <h2 class="section-title" id="header-classes">Classes</h2>
565594 app_name: Optional[str] = None,
566595 base_logger: Optional[Logger] = None,
567596 ):
597+ """
598+ Args:
599+ callback_id: The callback_id for this workflow step
600+ edit: Either a single function or a list of functions for opening a modal in the builder UI
601+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.
602+ save: Either a single function or a list of functions for handling modal interactions in the builder UI
603+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.
604+ execute: Either a single function or a list of functions for handling workflow step executions
605+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.
606+ app_name: The app name that can be mainly used for logging
607+ base_logger: The logger instance that can be used as a template when creating this step's logger
608+ """
568609 self.callback_id = callback_id
569610 app_name = app_name or __name__
570611 self.edit = self.build_listener(
0 commit comments