I’ve noticed that the websocket_max_message_size is a keyword argument for Server class, but I wonder how to pass it that Server class from notebook when using bokeh.io.show(app, notebook_url).
I’ve checked Bokeh sources, it looks like this line is where the Server is created:
and no **kwargs are passed to it from the outer function. Looks like there is no straightforward way to pass websocket_max_message_size to the created server.
···
понедельник, 14 января 2019 г., 19:23:43 UTC+3 пользователь Bryan Van de ven написал:
Hi,
All the command line arguments are also keyword parameters, e.g. websocket_max_message_size
I think for now you will have to make your own version of the show_app function that passes the parameter. If you wanted to make PR that makes things more user-configurable, e.g. add a generic **kwargs parameter to show_app that gets passed on to Server, we would certainly consider it.
I've noticed that the websocket_max_message_size is a keyword argument for Server class, but I wonder how to pass it that Server class from notebook when using bokeh.io.show(app, notebook_url).
and no **kwargs are passed to it from the outer function. Looks like there is no straightforward way to pass websocket_max_message_size to the created server.
понедельник, 14 января 2019 г., 19:23:43 UTC+3 пользователь Bryan Van de ven написал:
Hi,
All the command line arguments are also keyword parameters, e.g. websocket_max_message_size
понедельник, 21 января 2019 г., 20:45:28 UTC+3 пользователь Bryan Van de ven написал:
Hi,
I think for now you will have to make your own version of the show_app function that passes the parameter. If you wanted to make PR that makes things more user-configurable, e.g. add a generic **kwargs parameter to show_app that gets passed on to Server, we would certainly consider it.
I’ve noticed that the websocket_max_message_size is a keyword argument for Server class, but I wonder how to pass it that Server class from notebook when using bokeh.io.show(app, notebook_url).
I’ve checked Bokeh sources, it looks like this line is where the Server is created:
and no **kwargs are passed to it from the outer function. Looks like there is no straightforward way to pass websocket_max_message_size to the created server.
понедельник, 14 января 2019 г., 19:23:43 UTC+3 пользователь Bryan Van de ven написал:
Hi,
All the command line arguments are also keyword parameters, e.g. websocket_max_message_size