nci-cidc-api-modules 1.1.23__py3-none-any.whl → 1.1.25__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.
- cidc_api/config/logging.py +3 -1
- {nci_cidc_api_modules-1.1.23.dist-info → nci_cidc_api_modules-1.1.25.dist-info}/METADATA +2 -2
- {nci_cidc_api_modules-1.1.23.dist-info → nci_cidc_api_modules-1.1.25.dist-info}/RECORD +6 -6
- {nci_cidc_api_modules-1.1.23.dist-info → nci_cidc_api_modules-1.1.25.dist-info}/WHEEL +1 -1
- {nci_cidc_api_modules-1.1.23.dist-info → nci_cidc_api_modules-1.1.25.dist-info}/licenses/LICENSE +0 -0
- {nci_cidc_api_modules-1.1.23.dist-info → nci_cidc_api_modules-1.1.25.dist-info}/top_level.txt +0 -0
cidc_api/config/logging.py
CHANGED
@@ -2,7 +2,7 @@ import sys
|
|
2
2
|
import logging
|
3
3
|
from typing import Optional
|
4
4
|
|
5
|
-
from .settings import IS_GUNICORN, ENV
|
5
|
+
from .settings import IS_GUNICORN, ENV, TESTING
|
6
6
|
|
7
7
|
# TODO: consider adding custom formatting that automatically adds request context
|
8
8
|
# to all logs, like who the requesting user is and what URL they're accessing, e.g.
|
@@ -22,4 +22,6 @@ def get_logger(name: Optional[str]) -> logging.Logger:
|
|
22
22
|
handler.setFormatter(logging.Formatter("[%(asctime)s] [%(threadName)s] [%(levelname)s]: %(message)s"))
|
23
23
|
logger.addHandler(handler)
|
24
24
|
logger.setLevel(logging.DEBUG if ENV == "dev" else logging.INFO)
|
25
|
+
if not TESTING:
|
26
|
+
logger.propagate = False
|
25
27
|
return logger
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nci_cidc_api_modules
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.25
|
4
4
|
Summary: SQLAlchemy data models and configuration tools used in the NCI CIDC API
|
5
5
|
Home-page: https://github.com/NCI-CIDC/cidc-api-gae
|
6
6
|
License: MIT license
|
@@ -28,7 +28,7 @@ Requires-Dist: python-dotenv==0.10.3
|
|
28
28
|
Requires-Dist: requests==2.32.3
|
29
29
|
Requires-Dist: jinja2==3.1.6
|
30
30
|
Requires-Dist: certifi==2024.7.4
|
31
|
-
Requires-Dist: nci-cidc-schemas==0.27.
|
31
|
+
Requires-Dist: nci-cidc-schemas==0.27.16
|
32
32
|
Dynamic: description
|
33
33
|
Dynamic: description-content-type
|
34
34
|
Dynamic: home-page
|
@@ -1,6 +1,6 @@
|
|
1
1
|
cidc_api/config/__init__.py,sha256=5mX8GAPxUKV84iS-aGOoE-4m68LsOCGCDptXNdlgvj0,148
|
2
2
|
cidc_api/config/db.py,sha256=cyWhWtmXha4OsrwUf6ez8aKSfm7tPSmPDE9JVSBx3Fk,1935
|
3
|
-
cidc_api/config/logging.py,sha256=
|
3
|
+
cidc_api/config/logging.py,sha256=2eFyPb6fpQXuxYY0dUsuf2mpsGbASheqpPMlB32Zckw,1108
|
4
4
|
cidc_api/config/secrets.py,sha256=jRFj7W43pWuPf9DZQLCKF7WPXf5cUv-BAaS3ASqhV_Q,1481
|
5
5
|
cidc_api/config/settings.py,sha256=fJQIaCfxsuooEi1pAO8FhHurN0BjP6FZKX8jl7uHGZM,4203
|
6
6
|
cidc_api/csms/__init__.py,sha256=eJkY6rWNOAUBmSd4G1_U6h7i472druKEtBdVmgFZVPg,20
|
@@ -19,8 +19,8 @@ cidc_api/shared/emails.py,sha256=GY-l0EkoVU_3hjV0g-xo7N9d1iyCdluyq_arftEPPe0,498
|
|
19
19
|
cidc_api/shared/gcloud_client.py,sha256=i4ZZLoDC_pEwKaMS8218uUJ0fsIi0DKwd-hzGHGQw7g,33139
|
20
20
|
cidc_api/shared/jose.py,sha256=-qzGzEDAlokEp9E7WtBtQkXyyfPWTYXlwYpCqVJWmqM,1830
|
21
21
|
cidc_api/shared/rest_utils.py,sha256=RwR30WOUAYCxL7V-i2totEyeriG30GbBDvBcpLXhM9w,6594
|
22
|
-
nci_cidc_api_modules-1.1.
|
23
|
-
nci_cidc_api_modules-1.1.
|
24
|
-
nci_cidc_api_modules-1.1.
|
25
|
-
nci_cidc_api_modules-1.1.
|
26
|
-
nci_cidc_api_modules-1.1.
|
22
|
+
nci_cidc_api_modules-1.1.25.dist-info/licenses/LICENSE,sha256=pNYWVTHaYonnmJyplmeAp7tQAjosmDpAWjb34jjv7Xs,1102
|
23
|
+
nci_cidc_api_modules-1.1.25.dist-info/METADATA,sha256=FmdiNzBR1EpAjWfs3DosdV2WIL0jQoYoxV27z1wlBYg,41285
|
24
|
+
nci_cidc_api_modules-1.1.25.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
25
|
+
nci_cidc_api_modules-1.1.25.dist-info/top_level.txt,sha256=rNiRzL0lJGi5Q9tY9uSoMdTbJ-7u5c_D2E86KA94yRA,9
|
26
|
+
nci_cidc_api_modules-1.1.25.dist-info/RECORD,,
|
{nci_cidc_api_modules-1.1.23.dist-info → nci_cidc_api_modules-1.1.25.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
{nci_cidc_api_modules-1.1.23.dist-info → nci_cidc_api_modules-1.1.25.dist-info}/top_level.txt
RENAMED
File without changes
|