encommon 2.0.1__py3-none-any.whl → 2.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
encommon/config/config.py CHANGED
@@ -15,7 +15,7 @@ from typing import Optional
15
15
  from .common import config_paths
16
16
  from .files import ConfigFiles
17
17
  from .logger import Logger
18
- from .params import ConfigFileParams
18
+ from .params import ConfigParent
19
19
  from .paths import ConfigPaths
20
20
  from ..crypts.crypts import Crypts
21
21
  from ..types.dicts import merge_dicts
@@ -29,7 +29,7 @@ class Config:
29
29
 
30
30
  .. note::
31
31
  Configuration loaded from files is validated with the
32
- Pydantic model :class:`.ConfigFileParams`.
32
+ Pydantic model :class:`.ConfigParent`.
33
33
 
34
34
  :param files: Complete or relative path to config files.
35
35
  :param paths: Complete or relative path to config paths.
@@ -69,7 +69,7 @@ class Config:
69
69
  paths = list(config_paths(paths))
70
70
 
71
71
  self.__model = (
72
- model or ConfigFileParams)
72
+ model or ConfigParent)
73
73
 
74
74
  self.__files = ConfigFiles(files)
75
75
  self.__cargs = deepcopy(cargs)
encommon/config/params.py CHANGED
@@ -36,7 +36,7 @@ class LoggerParams(BaseModel):
36
36
 
37
37
 
38
38
 
39
- class ConfigFileParams(BaseModel):
39
+ class ConfigParent(BaseModel):
40
40
  """
41
41
  Process and validate the common configuration parameters.
42
42
  """
encommon/version.txt CHANGED
@@ -1 +1 @@
1
- 2.0.1
1
+ 2.0.2
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: encommon
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: Enasis Network Common Library
5
5
  License: MIT
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,13 +1,13 @@
1
1
  encommon/__init__.py,sha256=VoXUcphq-gcXCraaU47EtXBftF6UVuQPMGr0fuCTt9A,525
2
2
  encommon/conftest.py,sha256=D_8TAxCdBXYyUacz6V5Iovgka7mn7pXH_rBcx8xbLEg,772
3
3
  encommon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- encommon/version.txt,sha256=_oQPUvtVeNP3frSXEV6wLGA2YBw6U-YN95lccna6p3o,6
4
+ encommon/version.txt,sha256=tLFvrqUtwEzP4y97NCCUhVkj6_WZo8rBlARwotbXwmE,6
5
5
  encommon/config/__init__.py,sha256=tCvJrBTdtNSyg3sZkwUFQBwtK8QHgxLQl833OxblKAo,469
6
6
  encommon/config/common.py,sha256=OTmxJhbNA2B9f_fZGQEQPma_zPHeiSDvkd_gEVsLrkE,2081
7
- encommon/config/config.py,sha256=gdWhgBoKwfYUEaZ7UprmnL3BrLj57lDmrexTsLHkEzw,5570
7
+ encommon/config/config.py,sha256=UNMTCnrDaYYW7c1FhGjV8uIFRfst4wt7cfcvno8KVks,5558
8
8
  encommon/config/files.py,sha256=RlAk9iCH7JNYubDQe7IeenKuPY1l8h-DCPcmw2Qv9fI,1535
9
9
  encommon/config/logger.py,sha256=2y-VFzgM2pZzEYq48XfvrDPrtUcxyP9QjbH5OG7fv5o,13449
10
- encommon/config/params.py,sha256=iLCigmZKJfXvIclbCBJ2MBsALCeUeUqJwq92hpv4tk0,988
10
+ encommon/config/params.py,sha256=-b8SJqpV_6aami6ixpVHy-sU5DeiNf0fBAM3R2j-6DM,984
11
11
  encommon/config/paths.py,sha256=NIt4jQy2SalEXuOyZqSdin_3LzLADsqp44bH8tm8RQU,1729
12
12
  encommon/config/test/__init__.py,sha256=PjrnBYT0efyvbaGeNx94dm3tP3EVHUHSVs-VGeLEv5g,218
13
13
  encommon/config/test/test_common.py,sha256=U6XWfCLxtLmArn8P6h4cmCALzdXxV7IMUxKNU-UhwPw,731
@@ -51,8 +51,8 @@ encommon/utils/test/test_paths.py,sha256=ZPU84G_vI13G6t-PtDhM9UG4SHOoF4TiEdqApxt
51
51
  encommon/utils/test/test_regexp.py,sha256=oJglz-8TJiSUtE7NuseFy0dVjau2jR1foEj-ZsBlcek,697
52
52
  encommon/utils/test/test_sample.py,sha256=EZnRI27qf7x3s7Xbtkd9t0o_y1xDQB0o2sPxbO0_dDQ,1465
53
53
  encommon/utils/test/test_stdout.py,sha256=a060uA8oEHFGoVqdwB5iYxdl4R2TRSgr6Z7pMEbxibs,1675
54
- encommon-2.0.1.dist-info/LICENSE,sha256=04XJC5i4LRUf1A_U1EGCMJLpGodnmOFlh30yu7FAVfs,1071
55
- encommon-2.0.1.dist-info/METADATA,sha256=t2LhJGOgYENF7oIuEGegvboVeyt34nrpzNv3WgMOqHI,2315
56
- encommon-2.0.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
57
- encommon-2.0.1.dist-info/top_level.txt,sha256=bP8q7-5tLDNm-3XPlqn_bDENfYNug5801H_xfz3BEAM,9
58
- encommon-2.0.1.dist-info/RECORD,,
54
+ encommon-2.0.2.dist-info/LICENSE,sha256=04XJC5i4LRUf1A_U1EGCMJLpGodnmOFlh30yu7FAVfs,1071
55
+ encommon-2.0.2.dist-info/METADATA,sha256=xeCIK5zeLkdY6V1levxwIsiad6Ac28Hjx3-RceaTNbI,2315
56
+ encommon-2.0.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
57
+ encommon-2.0.2.dist-info/top_level.txt,sha256=bP8q7-5tLDNm-3XPlqn_bDENfYNug5801H_xfz3BEAM,9
58
+ encommon-2.0.2.dist-info/RECORD,,