mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 19:14:00 +03:00
Add cross-links between container singletons and reset container singletons docs pages
This commit is contained in:
parent
8eea9c4e45
commit
0d8f2ff44e
|
@ -1,3 +1,5 @@
|
||||||
|
.. _reset-container-singletons:
|
||||||
|
|
||||||
Reset container singletons
|
Reset container singletons
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
|
@ -16,4 +18,6 @@ Method ``.reset_singletons()`` also resets singletons in sub-containers: ``provi
|
||||||
:lines: 3-
|
:lines: 3-
|
||||||
:emphasize-lines: 21
|
:emphasize-lines: 21
|
||||||
|
|
||||||
|
See also: :ref:`singleton-provider`.
|
||||||
|
|
||||||
.. disqus::
|
.. disqus::
|
||||||
|
|
|
@ -13,6 +13,8 @@ Development version
|
||||||
are defined.
|
are defined.
|
||||||
See issue: `#383 <https://github.com/ets-labs/python-dependency-injector/issues/383>`_.
|
See issue: `#383 <https://github.com/ets-labs/python-dependency-injector/issues/383>`_.
|
||||||
Thanks to `@shaunc <https://github.com/shaunc>`_ for suggesting the feature.
|
Thanks to `@shaunc <https://github.com/shaunc>`_ for suggesting the feature.
|
||||||
|
- Add docs cross-links between ``Singleton`` provider and "Reset container singletons"
|
||||||
|
pages.
|
||||||
|
|
||||||
4.21.0
|
4.21.0
|
||||||
------
|
------
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
.. _singleton-provider:
|
||||||
|
|
||||||
Singleton provider
|
Singleton provider
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
@ -62,6 +64,8 @@ call ``.full_reset()`` method.
|
||||||
:lines: 3-
|
:lines: 3-
|
||||||
:emphasize-lines: 25
|
:emphasize-lines: 25
|
||||||
|
|
||||||
|
See also: :ref:`reset-container-singletons`.
|
||||||
|
|
||||||
Using singleton with multiple threads
|
Using singleton with multiple threads
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user