-
Notifications
You must be signed in to change notification settings - Fork 276
Closed
Labels
docsImprovements or additions to documentationImprovements or additions to documentation
Description
For developers that are not familiar with Bolt for JS, the kwargs injection in Bolt for Python may be a bit surprising. The document.
- Here is the list of available args. You can refer to any of them by having correctly named args in methods.
https://github.com/slackapi/bolt-python/blob/v0.9.4b0/slack_bolt/kwargs_injection/args.py#L16-L36 - It’s also possible to use args to get all the args in a single object. https://github.com/slackapi/bolt-python/blob/v0.9.4b0/slack_bolt/kwargs_injection/utils.py#L73-L75
The interface is highly inspired by Bolt for JS and I agree this is not a common design in Python. The document should clearly mention this.
Considering the place to put this type of content, we may want to have FAQ section in the template. We can mention other common topics (e.g., how to use Bolt along with Flask, Django? how to install a valid version of Python runtime) there. Any thoughts? @shaydewael
The page URLs
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docsImprovements or additions to documentationImprovements or additions to documentation