cdapython 2.2.0__py3-none-any.whl → 2.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.
cdapython/discover.py CHANGED
@@ -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}" )
@@ -848,7 +851,7 @@ def column_values(
848
851
 
849
852
  data_source ( string; optional ):
850
853
  Restrict returned values to the given upstream data source. Current
851
- valid values are 'GC', 'GDC', 'PDC', 'IDC' and 'ICDC'.
854
+ valid values are 'CTDC', 'GC', 'GDC', 'PDC', 'IDC' and 'ICDC'.
852
855
  Defaults to None (no filter).
853
856
 
854
857
  force( boolean; optional ):
@@ -997,7 +1000,7 @@ def column_values(
997
1000
 
998
1001
  # Warn the user if an override hasn't been requested.
999
1002
  if not force and column in expensive_columns:
1000
- log.warning( f"'{column}' has a very large number of values; retrieval is blocked by default. To perform this query, use column_values( ..., 'force=True' )." )
1003
+ log.warning( f"'{column}' has a very large number of values; retrieval is blocked by default. To perform this query, use column_values( ..., force=True )." )
1001
1004
  return
1002
1005
 
1003
1006
  #############################################################################################################################
cdapython/get_data.py CHANGED
@@ -75,7 +75,7 @@ def get_file_data(
75
75
 
76
76
  data_source ( string or list of strings; optional ):
77
77
  Restrict results to those deriving from the given upstream
78
- data source(s). Current valid values are 'GC', 'GDC', 'IDC',
78
+ data source(s). Current valid values are 'CTDC', 'GC', 'GDC', 'IDC',
79
79
  'PDC' and 'ICDC'. (Default: no filter.)
80
80
 
81
81
  add_columns ( string or list of strings; optional ):
@@ -206,7 +206,7 @@ def get_subject_data(
206
206
 
207
207
  data_source ( string or list of strings; optional ):
208
208
  Restrict results to those deriving from the given upstream
209
- data source(s). Current valid values are 'GC', 'GDC', 'IDC',
209
+ data source(s). Current valid values are 'CTDC', 'GC', 'GDC', 'IDC',
210
210
  'PDC' and 'ICDC'. (Default: no filter.)
211
211
 
212
212
  add_columns ( string or list of strings; optional ):
@@ -343,7 +343,7 @@ def get_data(
343
343
 
344
344
  data_source ( string or list of strings; optional ):
345
345
  Restrict results to those deriving from the given upstream
346
- data source(s). Current valid values are 'GC', 'GDC', 'IDC',
346
+ data source(s). Current valid values are 'CTDC', 'GC', 'GDC', 'IDC',
347
347
  'PDC' and 'ICDC'. (Default: no filter.)
348
348
 
349
349
  add_columns ( string or list of strings; optional ):
cdapython/summarize.py CHANGED
@@ -551,7 +551,7 @@ def summarize_files(
551
551
 
552
552
  data_source ( string or list of strings; optional ):
553
553
  Restrict results to those deriving from the given upstream
554
- data source(s). Current valid values are 'GC', 'GDC', 'IDC',
554
+ data source(s). Current valid values are 'CTDC', 'GC', 'GDC', 'IDC',
555
555
  'PDC' and 'ICDC'. (Default: no filter.)
556
556
 
557
557
  add_columns ( string or list of strings; optional ):
@@ -707,7 +707,7 @@ def summarize_subjects(
707
707
 
708
708
  data_source ( string or list of strings; optional ):
709
709
  Restrict results to those deriving from the given upstream
710
- data source(s). Current valid values are 'GC', 'GDC', 'IDC',
710
+ data source(s). Current valid values are 'CTDC', 'GC', 'GDC', 'IDC',
711
711
  'PDC' and 'ICDC'. (Default: no filter.)
712
712
 
713
713
  add_columns ( string or list of strings; optional ):
@@ -863,7 +863,7 @@ def summarize(
863
863
 
864
864
  data_source ( string or list of strings; optional ):
865
865
  Restrict results to those deriving from the given upstream
866
- data source(s). Current valid values are 'GC', 'GDC', 'IDC',
866
+ data source(s). Current valid values are 'CTDC', 'GC', 'GDC', 'IDC',
867
867
  'PDC' and 'ICDC'. (Default: no filter.)
868
868
 
869
869
  add_columns ( string or list of strings; optional ):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cdapython
3
- Version: 2.2.0
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
@@ -11,6 +11,7 @@ Classifier: Programming Language :: Python :: 3.11
11
11
  Classifier: Programming Language :: Python :: 3.12
12
12
  Classifier: Programming Language :: Python :: 3.13
13
13
  Classifier: Programming Language :: Python :: 3.14
14
+ Classifier: Programming Language :: Python :: 3.15
14
15
  Requires-Dist: cda-client (>=2.1.0)
15
16
  Requires-Dist: pandas (>=2.2.3,<3.0.0)
16
17
  Requires-Dist: pyyaml (>=6.0.0)
@@ -0,0 +1,12 @@
1
+ cdapython/__init__.py,sha256=s37hjhAK4bhkNKju5I9btRjDukGjCfv_M6_BUu6Jh70,560
2
+ cdapython/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ cdapython/config/logger_default_config.yml,sha256=j4kaJk0w4-xiOyCl5Ml0DhWnK6dAWy33UecLsl1vI_w,434
4
+ cdapython/discover.py,sha256=PALR2oVGyWpofMgZIcwGwzy9H2yMbiEhpVt3or9l2r4,60008
5
+ cdapython/get_data.py,sha256=DhGonfugu0Gj_jbJR4zKFCComqbgSJX2fTw54F8xWdY,120518
6
+ cdapython/logging_wrappers.py,sha256=SsgKrLh9y6RR-iAiMAm0Is9fGjLKQZ8BckA1MBCCLig,6885
7
+ cdapython/summarize.py,sha256=1_4cIIN3NLwCr5s3zvmTzo5sKXKHPN-Ee_57AMIoq7E,126614
8
+ cdapython/validation.py,sha256=YIPVUZfpGy8ahgbZaFUOKKzbrX26tHhusL2k-r6mTWc,41076
9
+ cdapython-2.2.2.dist-info/METADATA,sha256=-5LJymkLCu0VfbuufYeLQA02ctBJcxU4gVL4OH8rDr8,823
10
+ cdapython-2.2.2.dist-info/WHEEL,sha256=L-WvLdSBvJWHXv5zrQxDvNRnIgoBzLUpcbuiw19KCuQ,88
11
+ cdapython-2.2.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
12
+ cdapython-2.2.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.4.1
2
+ Generator: poetry-core 2.5.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,12 +0,0 @@
1
- cdapython/__init__.py,sha256=s37hjhAK4bhkNKju5I9btRjDukGjCfv_M6_BUu6Jh70,560
2
- cdapython/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- cdapython/config/logger_default_config.yml,sha256=j4kaJk0w4-xiOyCl5Ml0DhWnK6dAWy33UecLsl1vI_w,434
4
- cdapython/discover.py,sha256=zJb9b5Y57FAqRIB7TDpU6AlV55lg5Y37fyon8OqpHBk,59918
5
- cdapython/get_data.py,sha256=bDJfkIbKOip04YZKNZHJls9LiVhMC7o6jJujyXsEhL4,120494
6
- cdapython/logging_wrappers.py,sha256=SsgKrLh9y6RR-iAiMAm0Is9fGjLKQZ8BckA1MBCCLig,6885
7
- cdapython/summarize.py,sha256=_-LQeZCI-xV3BRW0bY03heP5kXFywsN-ug10TsY4oxY,126590
8
- cdapython/validation.py,sha256=YIPVUZfpGy8ahgbZaFUOKKzbrX26tHhusL2k-r6mTWc,41076
9
- cdapython-2.2.0.dist-info/METADATA,sha256=6U6E7oddsOGR2PFGB4USBraCoGRWsqfh-Fd4aBGNxVg,772
10
- cdapython-2.2.0.dist-info/WHEEL,sha256=eY7nduwzv-ldUxpzbRlxwvC693Hg6PX8bWDjEHjZ_dk,88
11
- cdapython-2.2.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
12
- cdapython-2.2.0.dist-info/RECORD,,