encommon 0.17.2__py3-none-any.whl → 0.18.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- encommon/config/config.py +3 -2
- encommon/version.txt +1 -1
- {encommon-0.17.2.dist-info → encommon-0.18.0.dist-info}/METADATA +1 -1
- {encommon-0.17.2.dist-info → encommon-0.18.0.dist-info}/RECORD +7 -7
- {encommon-0.17.2.dist-info → encommon-0.18.0.dist-info}/LICENSE +0 -0
- {encommon-0.17.2.dist-info → encommon-0.18.0.dist-info}/WHEEL +0 -0
- {encommon-0.17.2.dist-info → encommon-0.18.0.dist-info}/top_level.txt +0 -0
encommon/config/config.py
CHANGED
@@ -21,6 +21,7 @@ from ..crypts import Crypts
|
|
21
21
|
from ..types import DictStrAny
|
22
22
|
from ..types import merge_dicts
|
23
23
|
from ..types import setate
|
24
|
+
from ..types import sort_dict
|
24
25
|
|
25
26
|
if TYPE_CHECKING:
|
26
27
|
from ..utils.common import PATHABLE
|
@@ -43,7 +44,7 @@ class Config:
|
|
43
44
|
-------
|
44
45
|
>>> config = Config()
|
45
46
|
>>> config.config
|
46
|
-
{'enconfig': None, '
|
47
|
+
{'enconfig': None, 'encrypts': None, 'enlogger': None}
|
47
48
|
|
48
49
|
:param files: Complete or relative path to config files.
|
49
50
|
:param paths: Complete or relative path to config paths.
|
@@ -275,7 +276,7 @@ class Config:
|
|
275
276
|
:returns: Configuration dumped from the Pydantic model.
|
276
277
|
"""
|
277
278
|
|
278
|
-
return self.params.endumped
|
279
|
+
return sort_dict(self.params.endumped)
|
279
280
|
|
280
281
|
|
281
282
|
@property
|
encommon/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.18.0
|
@@ -1,13 +1,13 @@
|
|
1
1
|
encommon/__init__.py,sha256=YDGzuhpk5Gd1hq54LI0hw1NrrDvrJDrvH20TEy_0l5E,443
|
2
2
|
encommon/conftest.py,sha256=qorgldYdoDt_LFQupdT0ZUF5eAVPuJ5X3Jvv4VIa78Q,1900
|
3
3
|
encommon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
encommon/version.txt,sha256=
|
4
|
+
encommon/version.txt,sha256=9ek4KWfJgzBmpVgIgp83UPyOEYGxcMr9Iiw3BIu0mnc,7
|
5
5
|
encommon/colors/__init__.py,sha256=XRiGimMj8oo040NO5a5ZsbsIUxaGVW4tf4xWTPWgnZY,269
|
6
6
|
encommon/colors/color.py,sha256=EiUxNbVL1689Cqhw1LmO9ysmN3ulCVtGZGylyV8LuVA,10884
|
7
7
|
encommon/colors/test/__init__.py,sha256=PjrnBYT0efyvbaGeNx94dm3tP3EVHUHSVs-VGeLEv5g,218
|
8
8
|
encommon/colors/test/test_color.py,sha256=GKYzfnOlb2yKI0qmPDxumkeQNSXpvxTprUV9pAJPV94,4566
|
9
9
|
encommon/config/__init__.py,sha256=iZdbW7A4m7iN4xt5cEeQqo0Klqs-CaPLdD5ocLmUYi8,856
|
10
|
-
encommon/config/config.py,sha256
|
10
|
+
encommon/config/config.py,sha256=d66HM-7_6vH__NdGxx7eu2a6Bxu_N9GDW4t0TAS7bVc,6994
|
11
11
|
encommon/config/files.py,sha256=dSuShvIbQXFiNmpkwNVHCKDI-phBWC03OJVUfKJnfX0,2433
|
12
12
|
encommon/config/logger.py,sha256=MsGng6k1m4r5DnFkX8PhO33nj26AyiRYrKtFkjhAuNo,14556
|
13
13
|
encommon/config/params.py,sha256=FtcWi3-CY6OHLN7o3S-iBktpS1yGt5wLVD0546XEKRY,2223
|
@@ -77,8 +77,8 @@ encommon/utils/test/test_match.py,sha256=QagKpTFdRo23-Y55fSaJrSMpt5jIebScKbz0h8t
|
|
77
77
|
encommon/utils/test/test_paths.py,sha256=4AzIhQyYFEWhRWHgOZCCzomQ3Zs3EVwRnDQDa6Nq1Mc,1942
|
78
78
|
encommon/utils/test/test_sample.py,sha256=Qf-W0XbjTe5PfG87sdVizL2ymUPRTdX0qQtLGHaTgx8,3539
|
79
79
|
encommon/utils/test/test_stdout.py,sha256=fYiqEaUraD-3hFQYLxMPR4Ti_8CbTjEc8WvReXUA884,6139
|
80
|
-
encommon-0.
|
81
|
-
encommon-0.
|
82
|
-
encommon-0.
|
83
|
-
encommon-0.
|
84
|
-
encommon-0.
|
80
|
+
encommon-0.18.0.dist-info/LICENSE,sha256=otnXKCtMjPlbHs0wgZ_BWULrp3g_2dWQJ6icRk9nkgg,1071
|
81
|
+
encommon-0.18.0.dist-info/METADATA,sha256=upaliFBqed1iQjZnK9uwLnlrhAyLj2vcyM5pHROcVig,3449
|
82
|
+
encommon-0.18.0.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
83
|
+
encommon-0.18.0.dist-info/top_level.txt,sha256=bP8q7-5tLDNm-3XPlqn_bDENfYNug5801H_xfz3BEAM,9
|
84
|
+
encommon-0.18.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|