File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change
1
+ .. _reset-container-singletons :
2
+
1
3
Reset container singletons
2
4
--------------------------
3
5
@@ -16,4 +18,6 @@ Method ``.reset_singletons()`` also resets singletons in sub-containers: ``provi
16
18
:lines: 3-
17
19
:emphasize-lines: 21
18
20
21
+ See also: :ref: `singleton-provider `.
22
+
19
23
.. disqus ::
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ Development version
13
13
are defined.
14
14
See issue: `#383 <https://github.com/ets-labs/python-dependency-injector/issues/383 >`_.
15
15
Thanks to `@shaunc <https://github.com/shaunc >`_ for suggesting the feature.
16
+ - Add docs cross-links between ``Singleton `` provider and "Reset container singletons"
17
+ pages.
16
18
17
19
4.21.0
18
20
------
Original file line number Diff line number Diff line change
1
+ .. _singleton-provider :
2
+
1
3
Singleton provider
2
4
==================
3
5
@@ -62,6 +64,8 @@ call ``.full_reset()`` method.
62
64
:lines: 3-
63
65
:emphasize-lines: 25
64
66
67
+ See also: :ref: `reset-container-singletons `.
68
+
65
69
Using singleton with multiple threads
66
70
-------------------------------------
67
71
You can’t perform that action at this time.
0 commit comments