WangWeimin

Results 45 comments of WangWeimin

@algopy PyWebIO don't support running in Google colab notebook

其实PyWebIO设计之初,设想的应用场景是不太需要强用户友好性的内部工具或者自用服务,这些场景下都不太需要高并发,所以在性能方面没有进行过定量的测试。 不过PyWebIO在协程下,除了通信协议使用的websocket外,和普通的Web应用不存在本质区别,自认为高并发问题不大。

Customing footer is a good idea. I recently plan to provide a new decorator like `pywebio.config()` to set configurations for pywebio app. Using this decorator, users can set seo info,...

You can refer to https://github.com/wang0618/pywebio-in-cloud. And there a video about deployment of ML models using PyWebIO in Heroku: https://www.youtube.com/watch?v=sqR154NkwZk

It seem like that your app don't start successfully in heroku environment. If you use the same `Procfile` file as [this](https://github.com/wang0618/pywebio-in-cloud) repo, you need ensure that your app can start...

请补充关于 Flask-WTF 、 WTF_CSRF_DEFAULT 配置和你遇到的问题的更多背景

Try add `pywebio.session.run_js("""$('head').append(`td *{white-space: nowrap!important;}`)""")` before you put_table.

Sorry I may lower the priority of adding the development documentation, because I think that in most cases, the `action` parameter of the [`pywebio.input.input()`](https://pywebio.readthedocs.io/en/latest/input.html#pywebio.input.input) function can be used to customize...

Does the Flask server work good when you remove the `app.add_url_rule()` line ?

It seems that there are some problems with the `ssl_context` config. Please make sure your Flask app can work well first, and then add PyWebIO app to it via `app.add_url_rule()`