diff --git a/docs/api/asgi-lifespan.rst b/docs/api/asgi-lifespan.rst new file mode 100644 index 00000000..bcf5431d --- /dev/null +++ b/docs/api/asgi-lifespan.rst @@ -0,0 +1,9 @@ +dependency_injector.ext.starlette +================================= + +.. automodule:: dependency_injector.ext.starlette + :members: + :inherited-members: + :show-inheritance: + +.. disqus:: diff --git a/docs/providers/resource.rst b/docs/providers/resource.rst index 87a0a17e..b07c2db0 100644 --- a/docs/providers/resource.rst +++ b/docs/providers/resource.rst @@ -314,7 +314,7 @@ And to initialize all resources you can use ``init_resources()`` and ``shutdown_ # >>> Shutdown generic -It works using the :ref:`traverse` method to find all resources of the specified type, selecting all resources +It works using the ``traverse()`` method to find all resources of the specified type, selecting all resources which are instances of the specified type.