das-cli 1.0.6__py3-none-any.whl → 1.0.7__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.

Potentially problematic release.


This version of das-cli might be problematic. Click here for more details.

das/common/config.py CHANGED
@@ -81,12 +81,18 @@ def load_verify_ssl() -> bool:
81
81
 
82
82
  if os.getenv("VERIFY_SSL") is not None:
83
83
  VERIFY_SSL = os.getenv("VERIFY_SSL") == "True"
84
+ if not VERIFY_SSL:
85
+ print("SSL certificate verification is disabled")
84
86
  return VERIFY_SSL
85
87
 
86
88
  verify = config.get("verify_ssl")
87
89
  if verify is not None:
88
90
  VERIFY_SSL = verify
91
+ if not VERIFY_SSL:
92
+ print("SSL certificate verification is disabled")
89
93
  return verify
94
+ else:
95
+ raise ValueError("SSL certificate verification is not set")
90
96
  except Exception:
91
97
  pass
92
98
  return VERIFY_SSL
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: das-cli
3
- Version: 1.0.6
3
+ Version: 1.0.7
4
4
  Summary: DAS api client.
5
5
  Author: Royal Netherlands Institute for Sea Research
6
6
  License-Expression: MIT
@@ -6,7 +6,7 @@ das/ai/plugins/entries/entries_plugin.py,sha256=Dhv6PrguQj5mzxBW6DlCzkmwucszazLQ
6
6
  das/authentication/auth.py,sha256=DTtH66Ft6nuuMe7EYvrr3GqGVEGGxE7GmD2fO7vRv4s,1501
7
7
  das/authentication/secure_input.py,sha256=P-NpbFeHrp2uIOMqip55cGn_NqqpswhnknAF1t7c2_U,1911
8
8
  das/common/api.py,sha256=9kuM8Gcw29uiYbqw9fPK4w5gTpWv9baxjK9NvHNeb5E,3905
9
- das/common/config.py,sha256=u5Z45FLLEYeNZPrBBLz2mGB35_IV6cmLbVoNpnmrN6I,5817
9
+ das/common/config.py,sha256=VQi_tJ7hvIa--gvx9VCBkfVI9p0ptOvifIu08tc8kEs,6127
10
10
  das/common/entry_fields_constants.py,sha256=5Yh4Ujt70HEF-FsnwVBPBm3DB3HHzQWSWR-9Upt7C5I,93
11
11
  das/common/enums.py,sha256=jS0frv6717duG_wZNockXMTZ-VfsGu_f8_-lgYGnrcY,1745
12
12
  das/common/file_utils.py,sha256=-zePjYsj8iRpQssVQMHDK3Mh5q8FooKJCUCKCXKS6_Y,7006
@@ -22,9 +22,9 @@ das/services/entry_fields.py,sha256=x2wUDkKNduj9pf4s56hRo0UW-eBhipkU9gFMEjFw5DA,
22
22
  das/services/hangfire.py,sha256=hidmVP9yb4znzBaJJRyKawYx7oYaBv5OVL-t0BhvN_A,818
23
23
  das/services/search.py,sha256=3X_KPb9fs024FhxoTr4j-xY5ymm5rvvzlekxuh8tLdg,1374
24
24
  das/services/users.py,sha256=iNijO2UPIEtcpPy8Tkemdxxym9rYLCUyckQHIQj68W0,795
25
- das_cli-1.0.6.dist-info/licenses/LICENSE,sha256=4EDhysVgQWBlzo0rdUl_k89s-iVfgCcSa1gUx1TM1vA,1124
26
- das_cli-1.0.6.dist-info/METADATA,sha256=4Tr-LGEgUlJoHC0khiw_vHusfHC89y-nWhSH2KhNiLg,10469
27
- das_cli-1.0.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
- das_cli-1.0.6.dist-info/entry_points.txt,sha256=ZrdMae7NcvogQhzM1zun8E8n_QwYq-LpZvoJCr2_I4g,36
29
- das_cli-1.0.6.dist-info/top_level.txt,sha256=OJsPEeJyJ2rJlpEn2DTPgbMSvYG-6FeD13_m5qLpw3E,4
30
- das_cli-1.0.6.dist-info/RECORD,,
25
+ das_cli-1.0.7.dist-info/licenses/LICENSE,sha256=4EDhysVgQWBlzo0rdUl_k89s-iVfgCcSa1gUx1TM1vA,1124
26
+ das_cli-1.0.7.dist-info/METADATA,sha256=nDsFTbVc9vyr7150Xi1gHrKO9IVZZdgjGPJIzL-nL1s,10469
27
+ das_cli-1.0.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
+ das_cli-1.0.7.dist-info/entry_points.txt,sha256=ZrdMae7NcvogQhzM1zun8E8n_QwYq-LpZvoJCr2_I4g,36
29
+ das_cli-1.0.7.dist-info/top_level.txt,sha256=OJsPEeJyJ2rJlpEn2DTPgbMSvYG-6FeD13_m5qLpw3E,4
30
+ das_cli-1.0.7.dist-info/RECORD,,