pyxetabase 3.1.0.dev0__py3-none-any.whl → 3.1.0.dev2__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 pyxetabase might be problematic. Click here for more details.

@@ -60,7 +60,8 @@ class Meta(_ParentRestClient):
60
60
  Opencga openapi json.
61
61
  PATH: /{apiVersion}/meta/openapi
62
62
 
63
- :param str token: List of categories to get API from.
63
+ :param str environment: Environment of the app.
64
+ :param str host: Opencga host without environment.
64
65
  """
65
66
 
66
67
  return self._get(category='meta', resource='openapi', **options)
@@ -113,6 +113,16 @@ class Organization(_ParentRestClient):
113
113
 
114
114
  return self._post(category='organizations', resource='update', subcategory='notes', second_query_id=id, data=data, **options)
115
115
 
116
+ def reset_user_password(self, **options):
117
+ """
118
+ Reset user's password.
119
+ PATH: /{apiVersion}/organizations/user/password/reset
120
+
121
+ :param str user_id: User whose password needs to be reset.
122
+ """
123
+
124
+ return self._post(category='organizations', resource='reset', subcategory='user/password', **options)
125
+
116
126
  def user_update_status(self, user, data=None, **options):
117
127
  """
118
128
  Update the user status.
@@ -165,7 +165,7 @@ class User(_ParentRestClient):
165
165
 
166
166
  def reset_password(self, user, **options):
167
167
  """
168
- Reset password.
168
+ [DEPRECATED].
169
169
  PATH: /{apiVersion}/users/{user}/password/reset
170
170
 
171
171
  :param str user: User ID. (REQUIRED)
@@ -19,6 +19,33 @@ class CVDB(_ParentRestClient):
19
19
  def __init__(self, configuration, token=None, login_handler=None, *args, **kwargs):
20
20
  super(CVDB, self).__init__(configuration, token, login_handler, *args, **kwargs)
21
21
 
22
+ def update_acl(self, data=None, **options):
23
+ """
24
+ Update the set of permissions granted in CVDB for the OpenCGA users
25
+ that have access to the clinical analyses.
26
+ PATH: /{apiVersion}/analysis/cvdb/acl/update
27
+
28
+ :param dict data: Parameters for the ACL updating task
29
+ (cvdb-acl-update). (REQUIRED)
30
+ :param str study: Study [[organization@]project:]study where study and
31
+ project can be either the ID or UUID.
32
+ :param str job_id: Job ID. It must be a unique string within the
33
+ study. An ID will be autogenerated automatically if not provided.
34
+ :param str job_description: Job description.
35
+ :param str job_depends_on: Comma separated list of existing job IDs
36
+ the job will depend on.
37
+ :param str job_tags: Job tags.
38
+ :param str job_scheduled_start_time: Time when the job is scheduled to
39
+ start.
40
+ :param str job_priority: Priority of the job.
41
+ :param bool job_dry_run: Flag indicating that the job will be executed
42
+ in dry-run mode. In this mode, OpenCGA will validate that all
43
+ parameters and prerequisites are correctly set for successful
44
+ execution, but the job will not actually run.
45
+ """
46
+
47
+ return self._post(category='analysis', resource='update', subcategory='cvdb/acl', data=data, **options)
48
+
22
49
  def aggregate_analysis(self, **options):
23
50
  """
24
51
  Calculate and fetch clinical analysis aggregation stats.
@@ -60,7 +60,8 @@ class Meta(_ParentRestClient):
60
60
  Opencga openapi json.
61
61
  PATH: /{apiVersion}/meta/openapi
62
62
 
63
- :param str token: List of categories to get API from.
63
+ :param str environment: Environment of the app.
64
+ :param str host: Opencga host without environment.
64
65
  """
65
66
 
66
67
  return self._get(category='meta', resource='openapi', **options)
@@ -113,6 +113,16 @@ class Organization(_ParentRestClient):
113
113
 
114
114
  return self._post(category='organizations', resource='update', subcategory='notes', second_query_id=id, data=data, **options)
115
115
 
116
+ def reset_user_password(self, **options):
117
+ """
118
+ Reset user's password.
119
+ PATH: /{apiVersion}/organizations/user/password/reset
120
+
121
+ :param str user_id: User whose password needs to be reset.
122
+ """
123
+
124
+ return self._post(category='organizations', resource='reset', subcategory='user/password', **options)
125
+
116
126
  def user_update_status(self, user, data=None, **options):
117
127
  """
118
128
  Update the user status.
@@ -185,7 +185,7 @@ class User(_ParentRestClient):
185
185
 
186
186
  def reset_password(self, user, **options):
187
187
  """
188
- Reset password.
188
+ [DEPRECATED].
189
189
  PATH: /{apiVersion}/users/{user}/password/reset
190
190
 
191
191
  :param str user: User ID. (REQUIRED)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyxetabase
3
- Version: 3.1.0.dev0
3
+ Version: 3.1.0.dev2
4
4
  Summary: A REST client for OpenCGA enterprise REST web services
5
5
  Author: Daniel Perez-Gil
6
6
  Author-email: daniel.perez@zettagenomics.com
@@ -17,12 +17,12 @@ pyopencga/rest_clients/file_client.py,sha256=xoUE7e1oyaVhdO-ZnLEnbyUPTgyKGYhhtqX
17
17
  pyopencga/rest_clients/ga4gh_client.py,sha256=iU0PvOmxTbhFS-AUD6BDp41uU1BAxWJUiiv1waioX6A,3505
18
18
  pyopencga/rest_clients/individual_client.py,sha256=jYO4nHluP-gsdX7iM43qwlP9t9QIZBPiUv8sNXMOQ1Q,23224
19
19
  pyopencga/rest_clients/job_client.py,sha256=2u1fBSFb87gRsxcsF6ySQGgnKSJLCiaczrxUQ_iAesQ,19810
20
- pyopencga/rest_clients/meta_client.py,sha256=g3eNMWawjYNwpgjy7es0WHygsUjK3aBcCgLE-JTIfYA,2203
21
- pyopencga/rest_clients/organization_client.py,sha256=MLd87hHp2WDhsh2b3k29r-DlS2i71Nv4EU9Jy6QyuJQ,9121
20
+ pyopencga/rest_clients/meta_client.py,sha256=1vNVtM6HpF_FkoQnFX7QGZJCJZVL0P2kOIBoPVrUl-w,2256
21
+ pyopencga/rest_clients/organization_client.py,sha256=wOv7E5kStrRt8FoqA4Xo6q0eVenf367vhfa5KZ8hQCs,9464
22
22
  pyopencga/rest_clients/project_client.py,sha256=XuajvAQB9qUGhYRpmZxA1bBkgDkgyS78w-BUepIidtI,5211
23
23
  pyopencga/rest_clients/sample_client.py,sha256=UAUDzZCfIaSKCwaIGe11ek11w_tMcxGqNaRXTYwbjMg,23620
24
24
  pyopencga/rest_clients/study_client.py,sha256=cbShzD4GtZ6kchUHdhPGfKX1YxytsJGZ8ifttzeXoCQ,20248
25
- pyopencga/rest_clients/user_client.py,sha256=3Tzqw3d7bGvrbtqeLqImY5UQBxo6d5yyLNWCTVZ_duU,7149
25
+ pyopencga/rest_clients/user_client.py,sha256=XS4FDLuPaDt9VKHlLIYixvqqLRfBEZ9pwzblUM3GDfQ,7147
26
26
  pyopencga/rest_clients/variant_client.py,sha256=qao-KWLjp04mDN3q7tQYsJzsQpxMaMvMzE8zAp8t7pg,75435
27
27
  pyopencga/rest_clients/variant_operation_client.py,sha256=HYBQOSwXKdFTDbaxZfA4hUa66yKCfwCT7r272hLdQLc,36910
28
28
  pyopencga/rest_clients/workflow_client.py,sha256=TN_x3CpC-GIojfsJNZmwPMCeXMUSPxKIas2PnNN18H4,12481
@@ -39,7 +39,7 @@ pyxetabase/rest_clients/admin_client.py,sha256=f2q7-ZPu5Ee4LvGBV0PYh-Af_dlt6V0yA
39
39
  pyxetabase/rest_clients/alignment_client.py,sha256=srY1fmjMZCPWlbqhrD2gYVhS2zu7fgPx61tZOqQi4Wc,18509
40
40
  pyxetabase/rest_clients/clinical_analysis_client.py,sha256=j2LmLT8wg3C9srRMB2mksEVFnqN22Anb7HxZCbdF50c,69126
41
41
  pyxetabase/rest_clients/cohort_client.py,sha256=D-su-AFOziztVMI-oAcr5G2Uq_psbLV8Wt0bqZ7zZgI,16324
42
- pyxetabase/rest_clients/cvdb_client.py,sha256=Acr7gmupxCv_0xhTfu_SsIGIu7f3EEO5P0t6k_wVEJw,141705
42
+ pyxetabase/rest_clients/cvdb_client.py,sha256=V7ny5nQEeJqsbALAe7JLyoV6b0XyYF7c9lsn-qK-i8o,143102
43
43
  pyxetabase/rest_clients/disease_panel_client.py,sha256=GAYRyAfoB_VunskXOhAzMNbsrFupb6M2QbRK3x1Y5vo,18513
44
44
  pyxetabase/rest_clients/family_client.py,sha256=n-kyjnrV09R50JxyiHjFs8rCQkOKFU0Z1O7oVYuaKxg,18586
45
45
  pyxetabase/rest_clients/federation_client.py,sha256=p5B8dRq9gj-fdgIfIPhmkT7mNU65cRFtH06kaGtmbWE,5066
@@ -47,17 +47,17 @@ pyxetabase/rest_clients/file_client.py,sha256=7mGziH-_IuHuhs7B2yOby3s969qHqDMNLA
47
47
  pyxetabase/rest_clients/ga4gh_client.py,sha256=fPnmiblnfpz_zcZPJblGqOFksrdiF3MUer3fv2nwQwk,3506
48
48
  pyxetabase/rest_clients/individual_client.py,sha256=C59zr_t7tTxNR7ZBeAPY6fyYl59fE7KY05MaLyXWmXw,23225
49
49
  pyxetabase/rest_clients/job_client.py,sha256=amoBW3SL56l6sAPCUB55rZhLR8DcdIIfb5ymOZ9NkLQ,19811
50
- pyxetabase/rest_clients/meta_client.py,sha256=QhQebF3VyxU1kgWEfeV7niaXG7oxThgxT9wZeS4gEes,2204
51
- pyxetabase/rest_clients/organization_client.py,sha256=fcK911NZHJE5fmSV19H2XNnwE192v-Oj5Cl4GwyAu60,9122
50
+ pyxetabase/rest_clients/meta_client.py,sha256=zFA4QpwNuMm5sgJbF6VP6OcG4lUlSHah91ncc724bxU,2257
51
+ pyxetabase/rest_clients/organization_client.py,sha256=tnwUTCqJoGiKXMQLMv4ymHA16JxnR5iL2SMLaJDBRs8,9465
52
52
  pyxetabase/rest_clients/project_client.py,sha256=M8naPsj47z2ylTrJNU_JyHReKzXrB038PoEtKKrtxmc,5212
53
53
  pyxetabase/rest_clients/sample_client.py,sha256=VOsPAhw9HwaEHzzw_5gcVQ1v2xSesvzN3TO4z2opaNo,23621
54
54
  pyxetabase/rest_clients/study_client.py,sha256=hZ1GAYMrAhfjD_PqSXLwYRFpPFewxoLI_GhaSrzVyuE,20249
55
- pyxetabase/rest_clients/user_client.py,sha256=SiwEr-bCO3eunryTLW6zVv0I7KPs9dCNhgImpP4KE4A,7685
55
+ pyxetabase/rest_clients/user_client.py,sha256=frA7-rMii-yoRyca_Orkj1T80OeEe-zCdWZCHKn1sio,7683
56
56
  pyxetabase/rest_clients/variant_client.py,sha256=mmBuVE0JBThJr5zsLGci5nykNcCKyfZXRKl-h3HT9PA,75436
57
57
  pyxetabase/rest_clients/variant_operation_client.py,sha256=oN7AEQzAkrmLQLbw86CODCEnR5xM6UkqrdN-9WPO_rM,36911
58
58
  pyxetabase/rest_clients/workflow_client.py,sha256=QYnyI17aNCjq-uXlguaSj78F0xupeWwmf8uYK1Y5tf4,12482
59
- pyxetabase-3.1.0.dev0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
60
- pyxetabase-3.1.0.dev0.dist-info/METADATA,sha256=D8CT9j1hyu3Ln_GB1CYbd9ILQPbDD_qZOS9GfbeORNs,5539
61
- pyxetabase-3.1.0.dev0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
62
- pyxetabase-3.1.0.dev0.dist-info/top_level.txt,sha256=0m5pDpBX-lM8QpPl7bTpTQAm4kgu2-nr-pcaEu4Tn_8,11
63
- pyxetabase-3.1.0.dev0.dist-info/RECORD,,
59
+ pyxetabase-3.1.0.dev2.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
60
+ pyxetabase-3.1.0.dev2.dist-info/METADATA,sha256=t7_jkJfj-goZGT2QxmWtZKmpE0xWX5up8_AimiFAyWE,5539
61
+ pyxetabase-3.1.0.dev2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
62
+ pyxetabase-3.1.0.dev2.dist-info/top_level.txt,sha256=0m5pDpBX-lM8QpPl7bTpTQAm4kgu2-nr-pcaEu4Tn_8,11
63
+ pyxetabase-3.1.0.dev2.dist-info/RECORD,,