dcicutils 8.8.2.1b7__py3-none-any.whl → 8.8.2.1b8__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- dcicutils/deployment_utils.py +9 -0
- dcicutils/progress_bar.py +1 -1
- {dcicutils-8.8.2.1b7.dist-info → dcicutils-8.8.2.1b8.dist-info}/METADATA +1 -1
- {dcicutils-8.8.2.1b7.dist-info → dcicutils-8.8.2.1b8.dist-info}/RECORD +7 -7
- {dcicutils-8.8.2.1b7.dist-info → dcicutils-8.8.2.1b8.dist-info}/LICENSE.txt +0 -0
- {dcicutils-8.8.2.1b7.dist-info → dcicutils-8.8.2.1b8.dist-info}/WHEEL +0 -0
- {dcicutils-8.8.2.1b7.dist-info → dcicutils-8.8.2.1b8.dist-info}/entry_points.txt +0 -0
dcicutils/deployment_utils.py
CHANGED
@@ -430,6 +430,7 @@ class IniFileManager:
|
|
430
430
|
auth0_allowed_connections=None,
|
431
431
|
re_captcha_key=None, re_captcha_secret=None,
|
432
432
|
redis_server=None,
|
433
|
+
google_api_key=None,
|
433
434
|
file_upload_bucket=None, file_wfout_bucket=None,
|
434
435
|
blob_bucket=None, system_bucket=None, metadata_bundles_bucket=None):
|
435
436
|
|
@@ -506,6 +507,7 @@ class IniFileManager:
|
|
506
507
|
re_captcha_key=re_captcha_key,
|
507
508
|
re_captcha_secret=re_captcha_secret,
|
508
509
|
redis_server=redis_server,
|
510
|
+
google_api_key=google_api_key,
|
509
511
|
file_upload_bucket=file_upload_bucket,
|
510
512
|
file_wfout_bucket=file_wfout_bucket,
|
511
513
|
blob_bucket=blob_bucket,
|
@@ -576,6 +578,7 @@ class IniFileManager:
|
|
576
578
|
auth0_allowed_connections=None,
|
577
579
|
re_captcha_key=None, re_captcha_secret=None,
|
578
580
|
redis_server=None,
|
581
|
+
google_api_key=None,
|
579
582
|
file_upload_bucket=None,
|
580
583
|
file_wfout_bucket=None, blob_bucket=None, system_bucket=None,
|
581
584
|
metadata_bundles_bucket=None):
|
@@ -632,6 +635,7 @@ class IniFileManager:
|
|
632
635
|
higlass_server = higlass_server or os.environ.get('ENCODED_HIGLASS_SERVER', "MISSING_ENCODED_HIGLASS_SERVER")
|
633
636
|
es_server = es_server or os.environ.get('ENCODED_ES_SERVER', "MISSING_ENCODED_ES_SERVER")
|
634
637
|
redis_server = redis_server or os.environ.get('ENCODED_REDIS_SERVER', '') # optional
|
638
|
+
google_api_key = google_api_key or os.environ.get('GOOGLE_API_KEY', '') # optional
|
635
639
|
env_bucket = (env_bucket
|
636
640
|
or EnvBase.global_env_bucket_name()
|
637
641
|
or ("MISSING_GLOBAL_ENV_BUCKET"
|
@@ -773,6 +777,7 @@ class IniFileManager:
|
|
773
777
|
'HIGLASS_SERVER': higlass_server,
|
774
778
|
'ES_SERVER': es_server,
|
775
779
|
'REDIS_SERVER': redis_server,
|
780
|
+
'GOOGLE_API_KEY': google_api_key,
|
776
781
|
'ENV_BUCKET': env_bucket,
|
777
782
|
'ENV_ECOSYSTEM': env_ecosystem,
|
778
783
|
'ENV_NAME': env_name,
|
@@ -945,6 +950,9 @@ class IniFileManager:
|
|
945
950
|
parser.add_argument("--redis_server",
|
946
951
|
help="server URL to a Redis Cluster",
|
947
952
|
default=None)
|
953
|
+
parser.add_argument("--google_api_key",
|
954
|
+
help="Google API key to get smaht-submitr metadata template version",
|
955
|
+
default=None)
|
948
956
|
parser.add_argument("--tibanna_cwls_bucket",
|
949
957
|
help="the name of a Tibanna CWLs bucket to use",
|
950
958
|
default=None)
|
@@ -1024,6 +1032,7 @@ class IniFileManager:
|
|
1024
1032
|
auth0_allowed_connections=args.auth0_allowed_connections,
|
1025
1033
|
re_captcha_key=args.recaptcha_key, re_captcha_secret=args.recaptcha_secret,
|
1026
1034
|
redis_server=args.redis_server,
|
1035
|
+
google_api_key=args.google_api_key,
|
1027
1036
|
file_upload_bucket=args.file_upload_bucket,
|
1028
1037
|
file_wfout_bucket=args.file_wfout_bucket,
|
1029
1038
|
blob_bucket=args.blob_bucket, system_bucket=args.system_bucket,
|
dcicutils/progress_bar.py
CHANGED
@@ -64,7 +64,7 @@ class ProgressBar:
|
|
64
64
|
self._started = time.time()
|
65
65
|
self._stop_requested = False
|
66
66
|
# Interrupt handling. We do not do the actual (signal) interrupt setup
|
67
|
-
# in self.
|
67
|
+
# in self._initialize as that could be called from a (sub) thread; and in
|
68
68
|
# Python we can only set a signal (SIGINT in our case) on the main thread.
|
69
69
|
self._catch_interrupt = (catch_interrupt is True)
|
70
70
|
self._interrupt = interrupt if callable(interrupt) else None
|
@@ -13,7 +13,7 @@ dcicutils/creds_utils.py,sha256=xrLekD49Ex0GOpL9n7LlJA4gvNcY7txTVFOSYD7LvEU,1111
|
|
13
13
|
dcicutils/data_readers.py,sha256=WWH_VDz2KnNv_FoTjfFwrg6zh9asl8Q-uEV2V3XuyUg,7414
|
14
14
|
dcicutils/data_utils.py,sha256=k2OxOlsx7AJ6jF-YNlMyGus_JqSUBe4_n1s65Mv1gQQ,3098
|
15
15
|
dcicutils/datetime_utils.py,sha256=EODDGAngp1yh2ZlDIuI7tB74JBJucw2DljqfPknzK0Y,4666
|
16
|
-
dcicutils/deployment_utils.py,sha256
|
16
|
+
dcicutils/deployment_utils.py,sha256=-MmJQI99fXmBFkZCcFkmQYmXVDF5eHZOnmLb3R5eKcg,69506
|
17
17
|
dcicutils/diff_utils.py,sha256=sQx-yz56DHAcQWOChYbAG3clXu7TbiZKlw-GggeveO0,8118
|
18
18
|
dcicutils/docker_utils.py,sha256=30gUiqz7X9rJwSPXTPn4ewjQibUgoSJqhP9o9vn5X-A,1747
|
19
19
|
dcicutils/ecr_scripts.py,sha256=cxDl4BQt5W9NN1zjOHYZ7kk3yqoMnaCfNIyLaYmCqdE,19474
|
@@ -48,7 +48,7 @@ dcicutils/obfuscation_utils.py,sha256=fo2jOmDRC6xWpYX49u80bVNisqRRoPskFNX3ymFAmj
|
|
48
48
|
dcicutils/opensearch_utils.py,sha256=V2exmFYW8Xl2_pGFixF4I2Cc549Opwe4PhFi5twC0M8,1017
|
49
49
|
dcicutils/portal_object_utils.py,sha256=gDXRgPsRvqCFwbC8WatsuflAxNiigOnqr0Hi93k3AgE,15422
|
50
50
|
dcicutils/portal_utils.py,sha256=Xm0IqL2dA9C2gx98cPEbvlo81V76bEmpUpxb_8S3VqM,30480
|
51
|
-
dcicutils/progress_bar.py,sha256=
|
51
|
+
dcicutils/progress_bar.py,sha256=tGhqjONjDIjniqKUb8ATQuZmnJjG61XEu-EiY4uKMK4,13554
|
52
52
|
dcicutils/project_utils.py,sha256=qPdCaFmWUVBJw4rw342iUytwdQC0P-XKpK4mhyIulMM,31250
|
53
53
|
dcicutils/qa_checkers.py,sha256=cdXjeL0jCDFDLT8VR8Px78aS10hwNISOO5G_Zv2TZ6M,20534
|
54
54
|
dcicutils/qa_utils.py,sha256=TT0SiJWiuxYvbsIyhK9VO4uV_suxhB6CpuC4qPacCzQ,160208
|
@@ -72,8 +72,8 @@ dcicutils/trace_utils.py,sha256=g8kwV4ebEy5kXW6oOrEAUsurBcCROvwtZqz9fczsGRE,1769
|
|
72
72
|
dcicutils/validation_utils.py,sha256=cMZIU2cY98FYtzK52z5WUYck7urH6JcqOuz9jkXpqzg,14797
|
73
73
|
dcicutils/variant_utils.py,sha256=2H9azNx3xAj-MySg-uZ2SFqbWs4kZvf61JnK6b-h4Qw,4343
|
74
74
|
dcicutils/zip_utils.py,sha256=rnjNv_k6L9jT2SjDSgVXp4BEJYLtz9XN6Cl2Fy-tqnM,2027
|
75
|
-
dcicutils-8.8.2.
|
76
|
-
dcicutils-8.8.2.
|
77
|
-
dcicutils-8.8.2.
|
78
|
-
dcicutils-8.8.2.
|
79
|
-
dcicutils-8.8.2.
|
75
|
+
dcicutils-8.8.2.1b8.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
|
76
|
+
dcicutils-8.8.2.1b8.dist-info/METADATA,sha256=d_uRKK_JvNT9ol1b6_lKYyVyu29rp7hboctfwml3gBs,3356
|
77
|
+
dcicutils-8.8.2.1b8.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
78
|
+
dcicutils-8.8.2.1b8.dist-info/entry_points.txt,sha256=51Q4F_2V10L0282W7HFjP4jdzW4K8lnWDARJQVFy_hw,270
|
79
|
+
dcicutils-8.8.2.1b8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|