File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
slack_bolt/workflows/step Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,18 @@ def __init__(
308308 app_name : Optional [str ] = None ,
309309 base_logger : Optional [Logger ] = None ,
310310 ):
311+ """
312+ Args:
313+ callback_id: The callback_id for this workflow step
314+ edit: Either a single function or a list of functions for opening a modal in the builder UI
315+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.
316+ save: Either a single function or a list of functions for handling modal interactions in the builder UI
317+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.
318+ execute: Either a single function or a list of functions for handling workflow step executions
319+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.
320+ app_name: The app name that can be mainly used for logging
321+ base_logger: The logger instance that can be used as a template when creating this step's logger
322+ """
311323 self .callback_id = callback_id
312324 app_name = app_name or __name__
313325 self .edit = self .build_listener (
Original file line number Diff line number Diff line change @@ -319,6 +319,18 @@ def __init__(
319319 app_name : Optional [str ] = None ,
320320 base_logger : Optional [Logger ] = None ,
321321 ):
322+ """
323+ Args:
324+ callback_id: The callback_id for this workflow step
325+ edit: Either a single function or a list of functions for opening a modal in the builder UI
326+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.
327+ save: Either a single function or a list of functions for handling modal interactions in the builder UI
328+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.
329+ execute: Either a single function or a list of functions for handling workflow step executions
330+ When it's a list, the first one is responsible for ack() while the rest are lazy listeners.
331+ app_name: The app name that can be mainly used for logging
332+ base_logger: The logger instance that can be used as a template when creating this step's logger
333+ """
322334 self .callback_id = callback_id
323335 app_name = app_name or __name__
324336 self .edit = self .build_listener (
You can’t perform that action at this time.
0 commit comments