nci-cidc-api-modules 1.1.41__tar.gz → 1.2.1__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.
- {nci_cidc_api_modules-1.1.41/nci_cidc_api_modules.egg-info → nci_cidc_api_modules-1.2.1}/PKG-INFO +26 -26
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/README.md +1 -1
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/models/models.py +10 -2
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1/nci_cidc_api_modules.egg-info}/PKG-INFO +26 -26
- nci_cidc_api_modules-1.2.1/nci_cidc_api_modules.egg-info/requires.txt +23 -0
- nci_cidc_api_modules-1.2.1/requirements.modules.txt +23 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/setup.py +1 -1
- nci_cidc_api_modules-1.1.41/nci_cidc_api_modules.egg-info/requires.txt +0 -23
- nci_cidc_api_modules-1.1.41/requirements.modules.txt +0 -23
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/LICENSE +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/MANIFEST.in +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/config/__init__.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/config/db.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/config/logging.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/config/secrets.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/config/settings.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/models/__init__.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/models/files/__init__.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/models/files/details.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/models/files/facets.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/models/migrations.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/models/schemas.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/shared/__init__.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/shared/auth.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/shared/emails.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/shared/file_handling.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/shared/gcloud_client.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/shared/jose.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/shared/rest_utils.py +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/nci_cidc_api_modules.egg-info/SOURCES.txt +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/nci_cidc_api_modules.egg-info/dependency_links.txt +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/nci_cidc_api_modules.egg-info/not-zip-safe +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/nci_cidc_api_modules.egg-info/top_level.txt +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/pyproject.toml +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/setup.cfg +0 -0
- {nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/tests/test_api.py +0 -0
{nci_cidc_api_modules-1.1.41/nci_cidc_api_modules.egg-info → nci_cidc_api_modules-1.2.1}/PKG-INFO
RENAMED
@@ -1,35 +1,35 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nci_cidc_api_modules
|
3
|
-
Version: 1.1
|
3
|
+
Version: 1.2.1
|
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
|
7
|
-
Requires-Python: >=3.
|
7
|
+
Requires-Python: >=3.13
|
8
8
|
Description-Content-Type: text/markdown
|
9
9
|
License-File: LICENSE
|
10
|
-
Requires-Dist: werkzeug
|
11
|
-
Requires-Dist: flask
|
12
|
-
Requires-Dist: flask-migrate
|
13
|
-
Requires-Dist: flask-sqlalchemy
|
14
|
-
Requires-Dist: sqlalchemy
|
15
|
-
Requires-Dist: marshmallow
|
16
|
-
Requires-Dist: marshmallow-sqlalchemy
|
17
|
-
Requires-Dist: google-cloud-storage
|
18
|
-
Requires-Dist: google-cloud-secret-manager
|
19
|
-
Requires-Dist: google-cloud-pubsub
|
20
|
-
Requires-Dist: google-cloud-bigquery
|
21
|
-
Requires-Dist: google-api-python-client
|
22
|
-
Requires-Dist: google-auth
|
23
|
-
Requires-Dist: packaging>=
|
24
|
-
Requires-Dist: pyarrow
|
25
|
-
Requires-Dist: numpy
|
26
|
-
Requires-Dist: pandas
|
27
|
-
Requires-Dist: python-dotenv
|
28
|
-
Requires-Dist: requests
|
29
|
-
Requires-Dist: jinja2
|
30
|
-
Requires-Dist: certifi
|
31
|
-
Requires-Dist: cloud-sql-python-connector[pg8000]
|
32
|
-
Requires-Dist: nci-cidc-schemas==0.
|
10
|
+
Requires-Dist: werkzeug>=3.1.3
|
11
|
+
Requires-Dist: flask>=3.1.2
|
12
|
+
Requires-Dist: flask-migrate>=4.1.0
|
13
|
+
Requires-Dist: flask-sqlalchemy>=3.1.1
|
14
|
+
Requires-Dist: sqlalchemy>=2.0.43
|
15
|
+
Requires-Dist: marshmallow>=4.0.0
|
16
|
+
Requires-Dist: marshmallow-sqlalchemy>=1.4.2
|
17
|
+
Requires-Dist: google-cloud-storage>=3.3.0
|
18
|
+
Requires-Dist: google-cloud-secret-manager>=2.24.0
|
19
|
+
Requires-Dist: google-cloud-pubsub>=2.31.1
|
20
|
+
Requires-Dist: google-cloud-bigquery>=3.36.0
|
21
|
+
Requires-Dist: google-api-python-client>=2.179.0
|
22
|
+
Requires-Dist: google-auth>=2.40.3
|
23
|
+
Requires-Dist: packaging>=25.0
|
24
|
+
Requires-Dist: pyarrow>=21.0.0
|
25
|
+
Requires-Dist: numpy>=2.3.2
|
26
|
+
Requires-Dist: pandas>=2.3.1
|
27
|
+
Requires-Dist: python-dotenv>=1.1.1
|
28
|
+
Requires-Dist: requests>=2.32.5
|
29
|
+
Requires-Dist: jinja2>=3.1.6
|
30
|
+
Requires-Dist: certifi>=2025.8.3
|
31
|
+
Requires-Dist: cloud-sql-python-connector[pg8000]>=1.18.4
|
32
|
+
Requires-Dist: nci-cidc-schemas==0.28.2
|
33
33
|
Dynamic: description
|
34
34
|
Dynamic: description-content-type
|
35
35
|
Dynamic: home-page
|
@@ -62,7 +62,7 @@ The next generation of the CIDC API, reworked to use Google Cloud-managed servic
|
|
62
62
|
|
63
63
|
## Install Python dependencies
|
64
64
|
|
65
|
-
Python
|
65
|
+
Use Python version 3.13
|
66
66
|
|
67
67
|
```bash
|
68
68
|
# make a virtual environment in the current direcory called "venv"
|
@@ -21,7 +21,7 @@ The next generation of the CIDC API, reworked to use Google Cloud-managed servic
|
|
21
21
|
|
22
22
|
## Install Python dependencies
|
23
23
|
|
24
|
-
Python
|
24
|
+
Use Python version 3.13
|
25
25
|
|
26
26
|
```bash
|
27
27
|
# make a virtual environment in the current direcory called "venv"
|
@@ -1345,14 +1345,14 @@ class TrialMetadata(CommonColumns):
|
|
1345
1345
|
if not trial.file_bundle[assay]:
|
1346
1346
|
del trial.file_bundle[assay]
|
1347
1347
|
# Check if trial is ready for submission
|
1348
|
-
setattr(trial, "ready_for_submission", trial.
|
1348
|
+
setattr(trial, "ready_for_submission", trial.determine_ready_for_submission())
|
1349
1349
|
|
1350
1350
|
trials.append(trial)
|
1351
1351
|
|
1352
1352
|
return trials
|
1353
1353
|
|
1354
1354
|
@with_default_session
|
1355
|
-
def
|
1355
|
+
def determine_ready_for_submission(self, session: Session) -> Boolean:
|
1356
1356
|
open_job = IngestionJobs.get_open_job_by_trial(self.trial_id)
|
1357
1357
|
if not open_job:
|
1358
1358
|
return False
|
@@ -3571,3 +3571,11 @@ class FileValidationErrors(CommonColumns):
|
|
3571
3571
|
new_error = FileValidationErrors(file_id=file_id, job_id=job_id, error_message=error_message, location=location)
|
3572
3572
|
new_error.insert(session=session)
|
3573
3573
|
return new_error
|
3574
|
+
|
3575
|
+
@classmethod
|
3576
|
+
@with_default_session
|
3577
|
+
def delete_by_file_ids(cls, file_ids: list[int], session: Session = None):
|
3578
|
+
"""Delete all validation errors for the given list of file_ids."""
|
3579
|
+
if file_ids:
|
3580
|
+
session.query(cls).filter(cls.file_id.in_(file_ids)).delete(synchronize_session=False)
|
3581
|
+
session.commit()
|
{nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1/nci_cidc_api_modules.egg-info}/PKG-INFO
RENAMED
@@ -1,35 +1,35 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nci_cidc_api_modules
|
3
|
-
Version: 1.1
|
3
|
+
Version: 1.2.1
|
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
|
7
|
-
Requires-Python: >=3.
|
7
|
+
Requires-Python: >=3.13
|
8
8
|
Description-Content-Type: text/markdown
|
9
9
|
License-File: LICENSE
|
10
|
-
Requires-Dist: werkzeug
|
11
|
-
Requires-Dist: flask
|
12
|
-
Requires-Dist: flask-migrate
|
13
|
-
Requires-Dist: flask-sqlalchemy
|
14
|
-
Requires-Dist: sqlalchemy
|
15
|
-
Requires-Dist: marshmallow
|
16
|
-
Requires-Dist: marshmallow-sqlalchemy
|
17
|
-
Requires-Dist: google-cloud-storage
|
18
|
-
Requires-Dist: google-cloud-secret-manager
|
19
|
-
Requires-Dist: google-cloud-pubsub
|
20
|
-
Requires-Dist: google-cloud-bigquery
|
21
|
-
Requires-Dist: google-api-python-client
|
22
|
-
Requires-Dist: google-auth
|
23
|
-
Requires-Dist: packaging>=
|
24
|
-
Requires-Dist: pyarrow
|
25
|
-
Requires-Dist: numpy
|
26
|
-
Requires-Dist: pandas
|
27
|
-
Requires-Dist: python-dotenv
|
28
|
-
Requires-Dist: requests
|
29
|
-
Requires-Dist: jinja2
|
30
|
-
Requires-Dist: certifi
|
31
|
-
Requires-Dist: cloud-sql-python-connector[pg8000]
|
32
|
-
Requires-Dist: nci-cidc-schemas==0.
|
10
|
+
Requires-Dist: werkzeug>=3.1.3
|
11
|
+
Requires-Dist: flask>=3.1.2
|
12
|
+
Requires-Dist: flask-migrate>=4.1.0
|
13
|
+
Requires-Dist: flask-sqlalchemy>=3.1.1
|
14
|
+
Requires-Dist: sqlalchemy>=2.0.43
|
15
|
+
Requires-Dist: marshmallow>=4.0.0
|
16
|
+
Requires-Dist: marshmallow-sqlalchemy>=1.4.2
|
17
|
+
Requires-Dist: google-cloud-storage>=3.3.0
|
18
|
+
Requires-Dist: google-cloud-secret-manager>=2.24.0
|
19
|
+
Requires-Dist: google-cloud-pubsub>=2.31.1
|
20
|
+
Requires-Dist: google-cloud-bigquery>=3.36.0
|
21
|
+
Requires-Dist: google-api-python-client>=2.179.0
|
22
|
+
Requires-Dist: google-auth>=2.40.3
|
23
|
+
Requires-Dist: packaging>=25.0
|
24
|
+
Requires-Dist: pyarrow>=21.0.0
|
25
|
+
Requires-Dist: numpy>=2.3.2
|
26
|
+
Requires-Dist: pandas>=2.3.1
|
27
|
+
Requires-Dist: python-dotenv>=1.1.1
|
28
|
+
Requires-Dist: requests>=2.32.5
|
29
|
+
Requires-Dist: jinja2>=3.1.6
|
30
|
+
Requires-Dist: certifi>=2025.8.3
|
31
|
+
Requires-Dist: cloud-sql-python-connector[pg8000]>=1.18.4
|
32
|
+
Requires-Dist: nci-cidc-schemas==0.28.2
|
33
33
|
Dynamic: description
|
34
34
|
Dynamic: description-content-type
|
35
35
|
Dynamic: home-page
|
@@ -62,7 +62,7 @@ The next generation of the CIDC API, reworked to use Google Cloud-managed servic
|
|
62
62
|
|
63
63
|
## Install Python dependencies
|
64
64
|
|
65
|
-
Python
|
65
|
+
Use Python version 3.13
|
66
66
|
|
67
67
|
```bash
|
68
68
|
# make a virtual environment in the current direcory called "venv"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
werkzeug>=3.1.3
|
2
|
+
flask>=3.1.2
|
3
|
+
flask-migrate>=4.1.0
|
4
|
+
flask-sqlalchemy>=3.1.1
|
5
|
+
sqlalchemy>=2.0.43
|
6
|
+
marshmallow>=4.0.0
|
7
|
+
marshmallow-sqlalchemy>=1.4.2
|
8
|
+
google-cloud-storage>=3.3.0
|
9
|
+
google-cloud-secret-manager>=2.24.0
|
10
|
+
google-cloud-pubsub>=2.31.1
|
11
|
+
google-cloud-bigquery>=3.36.0
|
12
|
+
google-api-python-client>=2.179.0
|
13
|
+
google-auth>=2.40.3
|
14
|
+
packaging>=25.0
|
15
|
+
pyarrow>=21.0.0
|
16
|
+
numpy>=2.3.2
|
17
|
+
pandas>=2.3.1
|
18
|
+
python-dotenv>=1.1.1
|
19
|
+
requests>=2.32.5
|
20
|
+
jinja2>=3.1.6
|
21
|
+
certifi>=2025.8.3
|
22
|
+
cloud-sql-python-connector[pg8000]>=1.18.4
|
23
|
+
nci-cidc-schemas==0.28.2
|
@@ -0,0 +1,23 @@
|
|
1
|
+
werkzeug>=3.1.3
|
2
|
+
flask>=3.1.2
|
3
|
+
flask-migrate>=4.1.0
|
4
|
+
flask-sqlalchemy>=3.1.1
|
5
|
+
sqlalchemy>=2.0.43
|
6
|
+
marshmallow>=4.0.0
|
7
|
+
marshmallow-sqlalchemy>=1.4.2
|
8
|
+
google-cloud-storage>=3.3.0
|
9
|
+
google-cloud-secret-manager>=2.24.0
|
10
|
+
google-cloud-pubsub>=2.31.1
|
11
|
+
google-cloud-bigquery>=3.36.0
|
12
|
+
google-api-python-client>=2.179.0
|
13
|
+
google-auth>=2.40.3
|
14
|
+
packaging>=25.0
|
15
|
+
pyarrow>=21.0.0
|
16
|
+
numpy>=2.3.2
|
17
|
+
pandas>=2.3.1
|
18
|
+
python-dotenv>=1.1.1
|
19
|
+
requests>=2.32.5
|
20
|
+
jinja2>=3.1.6
|
21
|
+
certifi>=2025.8.3
|
22
|
+
cloud-sql-python-connector[pg8000]>=1.18.4
|
23
|
+
nci-cidc-schemas==0.28.2
|
@@ -13,7 +13,7 @@ from cidc_api import __version__
|
|
13
13
|
setup(
|
14
14
|
name="nci_cidc_api_modules",
|
15
15
|
description="SQLAlchemy data models and configuration tools used in the NCI CIDC API",
|
16
|
-
python_requires=">=3.
|
16
|
+
python_requires=">=3.13",
|
17
17
|
install_requires=requirements,
|
18
18
|
license="MIT license",
|
19
19
|
packages=[
|
@@ -1,23 +0,0 @@
|
|
1
|
-
werkzeug==3.0.6
|
2
|
-
flask==3.0.3
|
3
|
-
flask-migrate==3.1.0
|
4
|
-
flask-sqlalchemy==3.1.1
|
5
|
-
sqlalchemy==2.0.41
|
6
|
-
marshmallow==3.19.0
|
7
|
-
marshmallow-sqlalchemy==1.4.2
|
8
|
-
google-cloud-storage==2.18.0
|
9
|
-
google-cloud-secret-manager==2.20.1
|
10
|
-
google-cloud-pubsub==2.22.0
|
11
|
-
google-cloud-bigquery==3.18.0
|
12
|
-
google-api-python-client==2.64.0
|
13
|
-
google-auth==2.32.0
|
14
|
-
packaging>=20.0.0
|
15
|
-
pyarrow==14.0.1
|
16
|
-
numpy<2,>=1.16.5
|
17
|
-
pandas==1.5.3
|
18
|
-
python-dotenv==0.10.3
|
19
|
-
requests==2.32.4
|
20
|
-
jinja2==3.1.6
|
21
|
-
certifi==2024.7.4
|
22
|
-
cloud-sql-python-connector[pg8000]==1.18.3
|
23
|
-
nci-cidc-schemas==0.27.28
|
@@ -1,23 +0,0 @@
|
|
1
|
-
werkzeug==3.0.6
|
2
|
-
flask==3.0.3
|
3
|
-
flask-migrate==3.1.0
|
4
|
-
flask-sqlalchemy==3.1.1
|
5
|
-
sqlalchemy==2.0.41
|
6
|
-
marshmallow==3.19.0
|
7
|
-
marshmallow-sqlalchemy==1.4.2
|
8
|
-
google-cloud-storage==2.18.0
|
9
|
-
google-cloud-secret-manager==2.20.1
|
10
|
-
google-cloud-pubsub==2.22.0
|
11
|
-
google-cloud-bigquery==3.18.0
|
12
|
-
google-api-python-client==2.64.0
|
13
|
-
google-auth==2.32.0
|
14
|
-
packaging>=20.0.0
|
15
|
-
pyarrow==14.0.1
|
16
|
-
numpy>=1.16.5,<2
|
17
|
-
pandas==1.5.3
|
18
|
-
python-dotenv==0.10.3
|
19
|
-
requests==2.32.4
|
20
|
-
jinja2==3.1.6
|
21
|
-
certifi==2024.7.4
|
22
|
-
cloud-sql-python-connector[pg8000]==1.18.3
|
23
|
-
nci-cidc-schemas==0.27.28
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/cidc_api/models/files/__init__.py
RENAMED
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
|
File without changes
|
File without changes
|
File without changes
|
{nci_cidc_api_modules-1.1.41 → nci_cidc_api_modules-1.2.1}/nci_cidc_api_modules.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|