square-administration 3.2.1__py3-none-any.whl → 3.2.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.
@@ -10,8 +10,12 @@ try:
10
10
  config_file_path = os.path.join(
11
11
  os.path.dirname(os.path.abspath(__file__)), "data", "config.ini"
12
12
  )
13
- ldict_configuration = ConfigReader(config_file_path).read_configuration()
14
-
13
+ config_sample_file_path = os.path.join(
14
+ os.path.dirname(os.path.abspath(__file__)), "data", "config.sample.ini"
15
+ )
16
+ ldict_configuration = ConfigReader(
17
+ config_file_path, config_sample_file_path
18
+ ).read_configuration()
15
19
  # get all vars and typecast
16
20
  # ===========================================
17
21
  # general
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: square-administration
3
- Version: 3.2.1
3
+ Version: 3.2.2
4
4
  Summary: common business layer for my personal server.
5
5
  Home-page: https://github.com/thepmsquare/square_administration
6
6
  Author: thePmSquare
@@ -20,7 +20,7 @@ Requires-Dist: requests>=2.32.3
20
20
  Requires-Dist: bcrypt>=4.2.0
21
21
  Requires-Dist: pytest>=8.0.0
22
22
  Requires-Dist: httpx>=0.27.2
23
- Requires-Dist: square-commons>=1.0.0
23
+ Requires-Dist: square-commons>=2.1.0
24
24
  Requires-Dist: square-logger>=2.0.0
25
25
  Requires-Dist: square-database-helper>=2.0.0
26
26
  Requires-Dist: square-database-structure>=1.0.0
@@ -44,6 +44,10 @@ pip install square_administration
44
44
 
45
45
  ## changelog
46
46
 
47
+ ### v3.2.2
48
+
49
+ - remove config.ini and config.testing.ini from version control.
50
+
47
51
  ### v3.2.1
48
52
 
49
53
  - testing
@@ -1,9 +1,9 @@
1
1
  square_administration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- square_administration/configuration.py,sha256=kP2zfEvt-knzrzFIeINI1kz7260eXz_DbNjIjakByEY,4433
2
+ square_administration/configuration.py,sha256=GoeYwDL3EQeInUdGPEKCT9UvA1wY45o-CGVO4OMGvrk,4601
3
3
  square_administration/main.py,sha256=vvKBMn4JkDp8B2L_zwBMIfYaSA41rXxhL3ZFsSv8ly8,1660
4
4
  square_administration/messages.py,sha256=VYjJGW0Kvtjrx1Mw7ekksLVMoxcexLol2OckvqhZ3n0,1063
5
- square_administration/data/config.ini,sha256=kkSbjJP7qR8ah44Oyv2IyCgYfmheYYh4zSU7wD7v3ec,1145
6
- square_administration/data/config.testing.ini,sha256=vdW01yJdCqdI6uK-jXHfWa9B9IJVuecYdx0n3y7dS2k,1193
5
+ square_administration/data/config.sample.ini,sha256=kkSbjJP7qR8ah44Oyv2IyCgYfmheYYh4zSU7wD7v3ec,1145
6
+ square_administration/data/config.testing.sample.ini,sha256=vdW01yJdCqdI6uK-jXHfWa9B9IJVuecYdx0n3y7dS2k,1193
7
7
  square_administration/pydantic_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  square_administration/pydantic_models/authentication.py,sha256=QEfM5ezG45hc_qATXpFIPNPl4bjf8ICW_bY5tY4cqO4,259
9
9
  square_administration/pydantic_models/core.py,sha256=HUMrBmfKrXeL-126gE5j2povdVmktn8XLg2tHEdeXTk,344
@@ -13,9 +13,9 @@ square_administration/routes/core.py,sha256=H5pfPuPDzSn8-HN40gyI7eDVxFW7821urYq0
13
13
  square_administration/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  square_administration/utils/common.py,sha256=bnyBF10EDMLIYXnfV3ZZOApNKScHRmw-Jcj2zIFE8kE,1157
15
15
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
- tests/conftest.py,sha256=Lu7qQkrnSeV1WKlN0zVyNLLXRf3Sv8ghPlIWAByv1NQ,1921
16
+ tests/conftest.py,sha256=pqL3wk-mb_DPjtTHXWtIcYqVDXqhtM77xFPl3ljbLiw,2010
17
17
  tests/test_1.py,sha256=hikxL01-2dcax594y8ceanjRmLJXvuhLpcY-FMPIdY8,378
18
- square_administration-3.2.1.dist-info/METADATA,sha256=NzJek8yM3W4b1tqj7kRkXvXxc7-HhWnvmcZN6PQQLQM,3011
19
- square_administration-3.2.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
20
- square_administration-3.2.1.dist-info/top_level.txt,sha256=tyroqpdXXQAiA7Y_V1wCqPPt6nnS_orcY9txLeHjm1s,28
21
- square_administration-3.2.1.dist-info/RECORD,,
18
+ square_administration-3.2.2.dist-info/METADATA,sha256=H5l0VGeSCGUz5HrNC2SReTiSjlmYXg9uQGpWmPEbmn4,3089
19
+ square_administration-3.2.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
20
+ square_administration-3.2.2.dist-info/top_level.txt,sha256=tyroqpdXXQAiA7Y_V1wCqPPt6nnS_orcY9txLeHjm1s,28
21
+ square_administration-3.2.2.dist-info/RECORD,,
tests/conftest.py CHANGED
@@ -11,6 +11,8 @@ def get_patched_configuration():
11
11
  *rest, last = args
12
12
  if last == "config.ini":
13
13
  last = "config.testing.ini"
14
+ elif last == "config.sample.ini":
15
+ last = "config.testing.sample.ini"
14
16
 
15
17
  return original_join(*rest, last)
16
18