nci-cidc-api-modules 1.2.25__py3-none-any.whl → 1.2.27__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.
@@ -0,0 +1,34 @@
1
+ # Stubbed to accept any string
2
+ def is_ctcae_event_term(v):
3
+ if not isinstance(v, str):
4
+ raise TypeError("Value must be a string")
5
+ return v
6
+
7
+
8
+ # Stubbed to accept any string
9
+ def is_ctcae_event_code(v):
10
+ if not isinstance(v, str):
11
+ raise TypeError("Value must be a string")
12
+ return v
13
+
14
+
15
+ # Stubbed to accept any string
16
+ def is_ctcae_severity_grade(v):
17
+ if not isinstance(v, str):
18
+ raise TypeError("Value must be a string")
19
+ return v
20
+
21
+
22
+ # Stubbed to accept any string
23
+ def is_ctcae_system_organ_class(v):
24
+ if not isinstance(v, str):
25
+ raise TypeError("Value must be a string")
26
+ return v
27
+
28
+
29
+ # Determines if the CTCAE term is one of the "Other, specify" types of terms for which we include
30
+ # additional data about the AE.
31
+ def is_ctcae_other_term(v):
32
+ if isinstance(v, str):
33
+ return "Other, specify" in v
34
+ return False
@@ -0,0 +1,6 @@
1
+ # Stubbed to accept any string
2
+ # Should support MAGIC and Modified Glucksberg
3
+ def is_gvhd_organ(v):
4
+ if not isinstance(v, str):
5
+ raise TypeError("Value must be a string")
6
+ return v
@@ -0,0 +1,12 @@
1
+ # Stubbed to accept any string
2
+ def is_ICD10CM_code(v):
3
+ if not isinstance(v, str):
4
+ raise TypeError("Value must be a string")
5
+ return v
6
+
7
+
8
+ # Stubbed to accept any string
9
+ def is_ICD10CM_term(v):
10
+ if not isinstance(v, str):
11
+ raise TypeError("Value must be a string")
12
+ return v
@@ -0,0 +1,12 @@
1
+ # Stubbed to accept any string
2
+ def is_ICDO3_code(v):
3
+ if not isinstance(v, str):
4
+ raise TypeError("Value must be a string")
5
+ return v
6
+
7
+
8
+ # Stubbed to accept any string
9
+ def is_ICDO3_term(v):
10
+ if not isinstance(v, str):
11
+ raise TypeError("Value must be a string")
12
+ return v
@@ -0,0 +1,5 @@
1
+ # Stubbed to accept any string
2
+ def is_uberon_term(v):
3
+ if not isinstance(v, str):
4
+ raise TypeError("Value must be a string")
5
+ return v
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nci_cidc_api_modules
3
- Version: 1.2.25
3
+ Version: 1.2.27
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
@@ -25,6 +25,7 @@ Requires-Dist: numpy>=2.3.4
25
25
  Requires-Dist: packaging>=25.0
26
26
  Requires-Dist: pandas>=2.3.3
27
27
  Requires-Dist: pyarrow>=22.0.0
28
+ Requires-Dist: pydantic~=2.11.7
28
29
  Requires-Dist: python-dotenv>=1.2.1
29
30
  Requires-Dist: requests>=2.32.5
30
31
  Requires-Dist: sqlalchemy>=2.0.44
@@ -88,6 +88,11 @@ cidc_api/models/pydantic/stage2/surgery.py,sha256=OOMDGIt0XA4HHXiQjGTVb0zIsQR9uK
88
88
  cidc_api/models/pydantic/stage2/therapy_agent_dose.py,sha256=LgmDXBpDVIR3BxZDHZs4ruX5tSotfan-pU2CUPzddf0,2997
89
89
  cidc_api/models/pydantic/stage2/treatment.py,sha256=q8WORTyHSbU7yZvZLvag1dhDc-OAYnY8LPGUbpTzIcw,2015
90
90
  cidc_api/models/pydantic/stage2/trial.py,sha256=dYXq-psXUiWVJC2seOndtpMYA1TdIQVbVG8lC9t-oAM,3653
91
+ cidc_api/reference/ctcae.py,sha256=H5JvDQ5R5kYbK37UxjhmXMnKD3d40HmG0DONxfhNxnE,871
92
+ cidc_api/reference/gvhd.py,sha256=r5jbHEa5yos0tmghjiruAeXI-r-4lU81JKCUpMHtO14,194
93
+ cidc_api/reference/icd10cm.py,sha256=K1vbTQB75uAQeKgj0U9izhtMKVb2vqp69_hyx3z_jro,300
94
+ cidc_api/reference/icdo3.py,sha256=A19yNX5-9Gs3X83kXcTlGgsXDTTJ9yR2dxEIoBVmpmU,296
95
+ cidc_api/reference/uberon.py,sha256=BO2mYNDvPzZyLdhL_ZjCyEgHSLHuVifnTJvfktUfVWA,148
91
96
  cidc_api/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
97
  cidc_api/shared/auth.py,sha256=PHqmVGkqDjbmUofytVFwD_9ssgUomESl3fFtFHPwZYQ,9062
93
98
  cidc_api/shared/email_layout.html,sha256=pBoTNw3ACHH-ncZFaNvcy5bXMqPwizR78usb0uCYtIc,7670
@@ -97,8 +102,8 @@ cidc_api/shared/gcloud_client.py,sha256=ovXGS2ynaBgB_23prj23H10GNN4fectiVF7Hj4LJ
97
102
  cidc_api/shared/jose.py,sha256=-qzGzEDAlokEp9E7WtBtQkXyyfPWTYXlwYpCqVJWmqM,1830
98
103
  cidc_api/shared/rest_utils.py,sha256=RwR30WOUAYCxL7V-i2totEyeriG30GbBDvBcpLXhM9w,6594
99
104
  cidc_api/shared/utils.py,sha256=FdZJiynmh6BIzWyCTcUAcUMKCAtzEyp_HLdXEticNcI,237
100
- nci_cidc_api_modules-1.2.25.dist-info/licenses/LICENSE,sha256=pNYWVTHaYonnmJyplmeAp7tQAjosmDpAWjb34jjv7Xs,1102
101
- nci_cidc_api_modules-1.2.25.dist-info/METADATA,sha256=njaBXiyalYK75C63oSStvBFymyhnmfMNoM_aY_CbJ8Y,39692
102
- nci_cidc_api_modules-1.2.25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
103
- nci_cidc_api_modules-1.2.25.dist-info/top_level.txt,sha256=rNiRzL0lJGi5Q9tY9uSoMdTbJ-7u5c_D2E86KA94yRA,9
104
- nci_cidc_api_modules-1.2.25.dist-info/RECORD,,
105
+ nci_cidc_api_modules-1.2.27.dist-info/licenses/LICENSE,sha256=pNYWVTHaYonnmJyplmeAp7tQAjosmDpAWjb34jjv7Xs,1102
106
+ nci_cidc_api_modules-1.2.27.dist-info/METADATA,sha256=t-xZLJthOOe--ywTQLoFXUvxGKwMjX2mWdZJrleeLQQ,39724
107
+ nci_cidc_api_modules-1.2.27.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
108
+ nci_cidc_api_modules-1.2.27.dist-info/top_level.txt,sha256=rNiRzL0lJGi5Q9tY9uSoMdTbJ-7u5c_D2E86KA94yRA,9
109
+ nci_cidc_api_modules-1.2.27.dist-info/RECORD,,