348964fe12
* enable blueprint group middleware support This commit will enable the users to implement a middleware at the blueprint group level whereby enforcing the middleware automatically to each of the available Blueprints that are part of the group. This will eanble a simple way in which a certain set of common features and criteria can be enforced on a Blueprint group. i.e. authentication and authorization This commit will address the feature request raised as part of Issue #1386 Signed-off-by: Harsha Narayana <harsha2k4@gmail.com> * enable indexing of BlueprintGroup object Signed-off-by: Harsha Narayana <harsha2k4@gmail.com> * rename blueprint group file to fix spelling error Signed-off-by: Harsha Narayana <harsha2k4@gmail.com> * add documentation and additional unit tests Signed-off-by: Harsha Narayana <harsha2k4@gmail.com> * cleanup and optimize headers in unit test file Signed-off-by: Harsha Narayana <harsha2k4@gmail.com> * fix Bluprint Group iteratable method Signed-off-by: Harsha Narayana <harsha2k4@gmail.com> * add additional unit test to check StopIteration condition Signed-off-by: Harsha Narayana <harsha2k4@gmail.com> * cleanup iter protocol implemenation for blueprint group and add slots Signed-off-by: Harsha Narayana <harsha2k4@gmail.com> * fix blueprint group middleware invocation identification Signed-off-by: Harsha Narayana <harsha2k4@gmail.com> * feat: enable list behavior on blueprint group object and use append instead of properly to add blueprint to group Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
160 lines
2.5 KiB
ReStructuredText
160 lines
2.5 KiB
ReStructuredText
API Reference
|
|
=============
|
|
|
|
Submodules
|
|
----------
|
|
|
|
sanic.app module
|
|
----------------
|
|
|
|
.. automodule:: sanic.app
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.blueprints module
|
|
-----------------------
|
|
|
|
.. automodule:: sanic.blueprints
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.blueprint_group module
|
|
----------------------------
|
|
|
|
.. automodule:: sanic.blueprint_group
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
|
|
sanic.config module
|
|
-------------------
|
|
|
|
.. automodule:: sanic.config
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.constants module
|
|
----------------------
|
|
|
|
.. automodule:: sanic.constants
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.cookies module
|
|
--------------------
|
|
|
|
.. automodule:: sanic.cookies
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.exceptions module
|
|
-----------------------
|
|
|
|
.. automodule:: sanic.exceptions
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.handlers module
|
|
---------------------
|
|
|
|
.. automodule:: sanic.handlers
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.log module
|
|
----------------
|
|
|
|
.. automodule:: sanic.log
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.request module
|
|
--------------------
|
|
|
|
.. automodule:: sanic.request
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.response module
|
|
---------------------
|
|
|
|
.. automodule:: sanic.response
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.router module
|
|
-------------------
|
|
|
|
.. automodule:: sanic.router
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.server module
|
|
-------------------
|
|
|
|
.. automodule:: sanic.server
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.static module
|
|
-------------------
|
|
|
|
.. automodule:: sanic.static
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.testing module
|
|
--------------------
|
|
|
|
.. automodule:: sanic.testing
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.views module
|
|
------------------
|
|
|
|
.. automodule:: sanic.views
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.websocket module
|
|
----------------------
|
|
|
|
.. automodule:: sanic.websocket
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
sanic.worker module
|
|
-------------------
|
|
|
|
.. automodule:: sanic.worker
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
|
|
Module contents
|
|
---------------
|
|
|
|
.. automodule:: sanic
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|