beans-logging-fastapi 4.0.1__py3-none-any.whl → 4.1.0__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.
@@ -1 +1 @@
1
- __version__ = "4.0.1"
1
+ __version__ = "4.1.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: beans_logging_fastapi
3
- Version: 4.0.1
3
+ Version: 4.1.0
4
4
  Summary: This is a HTTP access log module for FastAPI based on 'beans-logging' package.
5
5
  Author-email: Batkhuu Byambajav <batkhuu10@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/bybatkhuu/module-fastapi-logging
@@ -22,7 +22,7 @@ Requires-Python: <4.0,>=3.10
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE.txt
24
24
  Requires-Dist: fastapi<1.0.0,>=0.99.1
25
- Requires-Dist: beans-logging<10.0.0,>=9.0.2
25
+ Requires-Dist: beans-logging<10.0.0,>=9.1.0
26
26
  Provides-Extra: test
27
27
  Requires-Dist: pytest<10.0.0,>=8.0.2; extra == "test"
28
28
  Requires-Dist: pytest-cov<8.0.0,>=5.0.0; extra == "test"
@@ -213,10 +213,10 @@ from potato_util import io as io_utils
213
213
  from beans_logging_fastapi import LoggerConfigPM
214
214
 
215
215
 
216
- _config_path = os.path.join(os.getcwd(), "configs", "logger.yml")
217
216
  _config_data = {}
218
- if os.path.isfile(_config_path):
219
- _config_data = io_utils.read_config_file(config_path=_config_path)
217
+ _configs_dir = os.path.join(os.getcwd(), "configs")
218
+ if os.path.isdir(_configs_dir):
219
+ _config_data = io_utils.read_all_configs(configs_dir=_configs_dir)
220
220
 
221
221
 
222
222
  class MainConfig(BaseSettings):
@@ -1,5 +1,5 @@
1
1
  beans_logging_fastapi/__init__.py,sha256=5nnhUvYdtaMSZ1t549nhYfxOzcKsC4YPx8nEqJWfZYw,225
2
- beans_logging_fastapi/__version__.py,sha256=v4mcX8QEz7plObRyvTdDblE04TUjya-nJkDSAikxv9Y,22
2
+ beans_logging_fastapi/__version__.py,sha256=jegJMYuSW90VKiMotVdNAakBvYVPirm-A5oeyJVuhH8,22
3
3
  beans_logging_fastapi/_async.py,sha256=8WncsgrofroUm1z8kgUkfZYP9vwrr9Lri31PrR0NTko,3495
4
4
  beans_logging_fastapi/_core.py,sha256=Tsc99l6i0Cryrh-UJ-uUfW5FG1O3PtQjE9QNBuJ3Eyk,2915
5
5
  beans_logging_fastapi/config.py,sha256=GvEoPBexT0HXFhqd1vbiJ-XCwkBPwPqYmL33tJTGkK0,5687
@@ -7,8 +7,8 @@ beans_logging_fastapi/constants.py,sha256=SgiS27cpih3QHejlf6db3ZnFBEEzJzC0T62l8B
7
7
  beans_logging_fastapi/filters.py,sha256=_Gdl58KXfX0qwUbv_kFuKqzjF2NIXsSGo6lqMQlZHhU,1731
8
8
  beans_logging_fastapi/formats.py,sha256=BzlqAko1vaxKcU8FpO-Zrg7qa0KXi2jRNVmn_wsptN0,2640
9
9
  beans_logging_fastapi/middlewares.py,sha256=ZOmp5oCg9RqnetSOBvwdQlOy87ix76ayS6HosbPG62k,14158
10
- beans_logging_fastapi-4.0.1.dist-info/licenses/LICENSE.txt,sha256=CUTK-r0BWIg1r0bBiemAcMhakgV0N7HuRhw6rQ-A9A4,1074
11
- beans_logging_fastapi-4.0.1.dist-info/METADATA,sha256=xeoZ2phZV0JjM2WHWpH8loRuRgJCeQX3415aaRBdaQc,17459
12
- beans_logging_fastapi-4.0.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
13
- beans_logging_fastapi-4.0.1.dist-info/top_level.txt,sha256=PXoqVo9HGfyd81gDi3D2mXMYPM9JKITL0ycFftJxlhw,22
14
- beans_logging_fastapi-4.0.1.dist-info/RECORD,,
10
+ beans_logging_fastapi-4.1.0.dist-info/licenses/LICENSE.txt,sha256=CUTK-r0BWIg1r0bBiemAcMhakgV0N7HuRhw6rQ-A9A4,1074
11
+ beans_logging_fastapi-4.1.0.dist-info/METADATA,sha256=bOmuEEYqGxEttNZVs2YCitOqDsZHFwbcLQD_7xyS5WY,17444
12
+ beans_logging_fastapi-4.1.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
13
+ beans_logging_fastapi-4.1.0.dist-info/top_level.txt,sha256=PXoqVo9HGfyd81gDi3D2mXMYPM9JKITL0ycFftJxlhw,22
14
+ beans_logging_fastapi-4.1.0.dist-info/RECORD,,