cdapython 2.2.1__tar.gz → 2.2.2__tar.gz
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.
- {cdapython-2.2.1 → cdapython-2.2.2}/CHANGELOG.md +2 -0
- {cdapython-2.2.1 → cdapython-2.2.2}/PKG-INFO +1 -1
- {cdapython-2.2.1 → cdapython-2.2.2}/cdapython/discover.py +4 -1
- {cdapython-2.2.1 → cdapython-2.2.2}/pyproject.toml +1 -1
- {cdapython-2.2.1 → cdapython-2.2.2}/LICENSE +0 -0
- {cdapython-2.2.1 → cdapython-2.2.2}/README.md +0 -0
- {cdapython-2.2.1 → cdapython-2.2.2}/cdapython/__init__.py +0 -0
- {cdapython-2.2.1 → cdapython-2.2.2}/cdapython/config/__init__.py +0 -0
- {cdapython-2.2.1 → cdapython-2.2.2}/cdapython/config/logger_default_config.yml +0 -0
- {cdapython-2.2.1 → cdapython-2.2.2}/cdapython/get_data.py +0 -0
- {cdapython-2.2.1 → cdapython-2.2.2}/cdapython/logging_wrappers.py +0 -0
- {cdapython-2.2.1 → cdapython-2.2.2}/cdapython/summarize.py +0 -0
- {cdapython-2.2.1 → cdapython-2.2.2}/cdapython/validation.py +0 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
2026-11-06: 2.2.2: harden error handling to more gracefully process e.g. 403s
|
|
2
|
+
|
|
1
3
|
2026-10-01: 2.2.1: fix help text typo for `column_values()`
|
|
2
4
|
|
|
3
5
|
2026-08-25: 2.2.0: add support for harmonized controlled-vocabulary metadata retrieval (slims, synonyms, containing terms); see help text for the `add_extras` flag in the `get_data()` and `summarize()` functions
|
|
@@ -502,7 +502,10 @@ def columns(
|
|
|
502
502
|
try:
|
|
503
503
|
columns_response_data_object = cda_client.api.columns.columns_endpoint_columns_get.sync( client=query_api_instance )
|
|
504
504
|
except UnexpectedStatus as error:
|
|
505
|
-
|
|
505
|
+
try:
|
|
506
|
+
log.error( f"UnexpectedStatus error from API, status code {error.status_code}: {json.loads( error.content )['message']}" )
|
|
507
|
+
except:
|
|
508
|
+
log.error( f"{type(error)}: {error}" )
|
|
506
509
|
return
|
|
507
510
|
except Exception as error:
|
|
508
511
|
log.error( f"{type(error)}: {error}" )
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|