nci-cidc-api-modules 1.0.4__py3-none-any.whl → 1.0.5__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.
@@ -1,3 +1,4 @@
1
1
  """Configuration for the CIDC API."""
2
+
2
3
  from .db import get_sqlalchemy_database_uri # for CFns
3
4
  from .secrets import get_secrets_manager # for CFns
cidc_api/shared/emails.py CHANGED
@@ -1,4 +1,5 @@
1
1
  """Template functions for CIDC email bodies."""
2
+
2
3
  import html
3
4
  import base64
4
5
  from functools import wraps
@@ -86,10 +87,13 @@ def new_user_registration(email: str) -> dict:
86
87
  @sendable
87
88
  def new_upload_alert(upload, full_metadata) -> dict:
88
89
  """Alert the CIDC administrators that an upload succeeded."""
89
- pipeline_configs: Dict[
90
- str, Union[bytes, str]
91
- ] = generate_analysis_configs_from_upload_patch(
92
- full_metadata, upload.metadata_patch, upload.upload_type, GOOGLE_ACL_DATA_BUCKET
90
+ pipeline_configs: Dict[str, Union[bytes, str]] = (
91
+ generate_analysis_configs_from_upload_patch(
92
+ full_metadata,
93
+ upload.metadata_patch,
94
+ upload.upload_type,
95
+ GOOGLE_ACL_DATA_BUCKET,
96
+ )
93
97
  )
94
98
 
95
99
  subject = (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nci_cidc_api_modules
3
- Version: 1.0.4
3
+ Version: 1.0.5
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
@@ -1,4 +1,4 @@
1
- cidc_api/config/__init__.py,sha256=5kcMGor07TrBm6e_UW6CCVnJu5wJ-8QX8X9ZRmeuPKA,147
1
+ cidc_api/config/__init__.py,sha256=5mX8GAPxUKV84iS-aGOoE-4m68LsOCGCDptXNdlgvj0,148
2
2
  cidc_api/config/db.py,sha256=ayeeNV-sV20hGoFyMMTMncI2V-FI9lVN3JV-Lmpr3xI,1981
3
3
  cidc_api/config/logging.py,sha256=gJ2TGgQVREng4Hv0phlCCkQai7HhumKYjJxubpxS6Q0,1090
4
4
  cidc_api/config/secrets.py,sha256=2DXeew1Pm0lnf2SLuo8wW5c5kOJp2WrhjflxZGsY_Ng,1505
@@ -15,11 +15,11 @@ cidc_api/models/files/details.py,sha256=eg1u8uZwtxb0m9mFobcTL_mnPBMq1MPZv3NN3KWM
15
15
  cidc_api/models/files/facets.py,sha256=5xI5eM1J0Uc97W0-MvAPSRRN-2Hs2xb_AIupliJRMJU,29172
16
16
  cidc_api/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  cidc_api/shared/auth.py,sha256=VMd_3QJE2iG16QxuGzHBV9MzJJItOZNn9gcw0_iUBLI,11647
18
- cidc_api/shared/emails.py,sha256=AhSp2hxWyuMpe21pERuQwrAEy0yCfy3rvSygDNKtgdc,4820
18
+ cidc_api/shared/emails.py,sha256=5dyuKlpcg1M4P_RrAt0ss2hiCqb-Y7p2XXR1d9uBXg8,4868
19
19
  cidc_api/shared/gcloud_client.py,sha256=7dDs0crLMJKdIp4IDSfrZBMB3h-zvWNieB81azoeLO4,33746
20
20
  cidc_api/shared/rest_utils.py,sha256=LMfBpvJRjkfQjCzVXuhTTe4Foz4wlvaKg6QntyR-Hkc,6648
21
- nci_cidc_api_modules-1.0.4.dist-info/LICENSE,sha256=pNYWVTHaYonnmJyplmeAp7tQAjosmDpAWjb34jjv7Xs,1102
22
- nci_cidc_api_modules-1.0.4.dist-info/METADATA,sha256=08Uc-d1Q-xy7Tpvai3B-ecXfNwe37BIEsHgLpS3LfDs,40342
23
- nci_cidc_api_modules-1.0.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
24
- nci_cidc_api_modules-1.0.4.dist-info/top_level.txt,sha256=rNiRzL0lJGi5Q9tY9uSoMdTbJ-7u5c_D2E86KA94yRA,9
25
- nci_cidc_api_modules-1.0.4.dist-info/RECORD,,
21
+ nci_cidc_api_modules-1.0.5.dist-info/LICENSE,sha256=pNYWVTHaYonnmJyplmeAp7tQAjosmDpAWjb34jjv7Xs,1102
22
+ nci_cidc_api_modules-1.0.5.dist-info/METADATA,sha256=fAHSq1qKpGH_4nEF7mSVy7Kes-LgxCZAIa2IjnWvdAQ,40342
23
+ nci_cidc_api_modules-1.0.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
24
+ nci_cidc_api_modules-1.0.5.dist-info/top_level.txt,sha256=rNiRzL0lJGi5Q9tY9uSoMdTbJ-7u5c_D2E86KA94yRA,9
25
+ nci_cidc_api_modules-1.0.5.dist-info/RECORD,,