I am using the SessionMiddleware with bottlepy and initialising it directly. However, I'm not sure how I should define the variables. Specifically I'm looking for how to add pre_ping kwarg to the sa.create_engine call. Currently I'm using the below configuration when constructing the SessionMiddleware, which works well with type and the url, but the echo param does not seem to echo anything, so not sure if the pre_ping works either.
I am using the SessionMiddleware with bottlepy and initialising it directly. However, I'm not sure how I should define the variables. Specifically I'm looking for how to add
pre_ping
kwarg to thesa.create_engine
call. Currently I'm using the below configuration when constructing the SessionMiddleware, which works well withtype
and theurl
, but theecho
param does not seem to echo anything, so not sure if thepre_ping
works either.I guess I don't understand the naming convention of the configuration parameters.