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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cdapython
3
- Version: 2.2.1
3
+ Version: 2.2.2
4
4
  Summary: NCI CRDC CDA front-end user interface library
5
5
  License-File: LICENSE
6
6
  Requires-Python: >=3.9,<4.0
@@ -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
- log.error( f"UnexpectedStatus error from API, status code {error.status_code}: {json.loads( error.content )['message']}" )
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}" )
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "cdapython"
3
- version = "2.2.1"
3
+ version = "2.2.2"
4
4
  description = "NCI CRDC CDA front-end user interface library"
5
5
  authors = []
6
6
  readme = "README.md"
File without changes
File without changes