Closed WilliamBergamin closed 1 month ago
Can you check the flake8 errors? https://github.com/slackapi/bolt-python/actions/runs/9228875341/job/25393855815?pr=1085
Attention: Patch coverage is 91.95402%
with 7 lines
in your changes are missing coverage. Please review.
Project coverage is 91.76%. Comparing base (
dbe2333
) to head (dd719c0
).
Files | Patch % | Lines |
---|---|---|
slack_bolt/adapter/wsgi/handler.py | 84.61% | 6 Missing :warning: |
slack_bolt/adapter/wsgi/http_response.py | 95.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR introduced a WSGI adapter to bolt python, this will allow Bolt to be deployed in production without the need for an other WSGI compatible Web Framework like Flask
Testing
examples/wsgi/app.py
as starting point for a test appscripts/build_pypi_package.sh
.whl
file found underdist/
to runpip install /path/to/dist/slack_bolt.whl
pip install gunicorn
gunicorn app:api -b 0.0.0.0:3000 --log-level debug
to start the applicationCategory
slack_bolt.App
and/or its core componentsslack_bolt.async_app.AsyncApp
and/or its core componentsslack_bolt.adapter
/docs
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.
./scripts/install_all_and_run_tests.sh
after making the changes.