sanic/sanic
Ashley Sommer 5cf2144b3f Fix pickling blueprints
Change the string passed in the "name" section of the namedtuples in Blueprint to match the name of the Blueprint module attribute name.
This allows blueprints to be pickled and unpickled, without errors, which is a requirment of running Sanic in multiprocessing mode in Windows.
Added a test for pickling and unpickling blueprints
Added a test for pickling and unpickling sanic itself
Added a test for enabling multiprocessing on an app with a blueprint (only useful to catch this bug if the tests are run on Windows).
2018-11-04 15:04:12 +10:00
..
__init__.py integrate with isort 2018-10-17 21:20:16 -07:00
__main__.py Fix documentation build errors 2018-10-26 11:57:28 +03:00
app.py Fix documentation build errors 2018-10-26 11:57:28 +03:00
blueprints.py Fix pickling blueprints 2018-11-04 15:04:12 +10:00
config.py run black against sanic module 2018-10-13 17:55:33 -07:00
constants.py run black against sanic module 2018-10-13 17:55:33 -07:00
cookies.py Fix documentation build errors 2018-10-26 11:57:28 +03:00
exceptions.py integrate with isort 2018-10-17 21:20:16 -07:00
handlers.py integrate with isort 2018-10-17 21:20:16 -07:00
helpers.py run black against sanic module 2018-10-13 17:55:33 -07:00
log.py run black against sanic module 2018-10-13 17:55:33 -07:00
reloader_helpers.py integrate with isort 2018-10-17 21:20:16 -07:00
request.py integrate with isort 2018-10-17 21:20:16 -07:00
response.py Merge pull request #1371 from yunstanford/integrate-isort 2018-10-23 16:05:36 -07:00
router.py integrate with isort 2018-10-17 21:20:16 -07:00
server.py integrate with isort 2018-10-17 21:20:16 -07:00
static.py integrate with isort 2018-10-17 21:20:16 -07:00
testing.py Fix documentation build errors 2018-10-26 11:57:28 +03:00
views.py integrate with isort 2018-10-17 21:20:16 -07:00
websocket.py integrate with isort 2018-10-17 21:20:16 -07:00
worker.py integrate with isort 2018-10-17 21:20:16 -07:00