pyxetabase 3.1.0.dev0__tar.gz → 3.1.0.dev1__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.

Potentially problematic release.


This version of pyxetabase might be problematic. Click here for more details.

Files changed (40) hide show
  1. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/PKG-INFO +1 -1
  2. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/cvdb_client.py +27 -0
  3. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/meta_client.py +2 -1
  4. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/organization_client.py +10 -0
  5. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/user_client.py +1 -1
  6. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase.egg-info/PKG-INFO +1 -1
  7. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/setup.py +1 -1
  8. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/LICENSE +0 -0
  9. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/README.rst +0 -0
  10. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/__init__.py +0 -0
  11. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/commons.py +0 -0
  12. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/exceptions.py +0 -0
  13. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/opencga_client.py +0 -0
  14. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/opencga_config.py +0 -0
  15. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/__init__.py +0 -0
  16. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/_parent_rest_clients.py +0 -0
  17. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/admin_client.py +0 -0
  18. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/alignment_client.py +0 -0
  19. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/clinical_analysis_client.py +0 -0
  20. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/cohort_client.py +0 -0
  21. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/disease_panel_client.py +0 -0
  22. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/family_client.py +0 -0
  23. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/federation_client.py +0 -0
  24. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/file_client.py +0 -0
  25. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/ga4gh_client.py +0 -0
  26. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/individual_client.py +0 -0
  27. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/job_client.py +0 -0
  28. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/project_client.py +0 -0
  29. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/sample_client.py +0 -0
  30. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/study_client.py +0 -0
  31. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/variant_client.py +0 -0
  32. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/variant_operation_client.py +0 -0
  33. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_clients/workflow_client.py +0 -0
  34. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/rest_response.py +0 -0
  35. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase/retry.py +0 -0
  36. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase.egg-info/SOURCES.txt +0 -0
  37. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase.egg-info/dependency_links.txt +0 -0
  38. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase.egg-info/requires.txt +0 -0
  39. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/pyxetabase.egg-info/top_level.txt +0 -0
  40. {pyxetabase-3.1.0.dev0 → pyxetabase-3.1.0.dev1}/setup.cfg +0 -0
@@ -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.dev1
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
@@ -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.dev1
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
@@ -14,7 +14,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
14
14
 
15
15
  setup(
16
16
  name='pyxetabase',
17
- version='3.1.0.dev0',
17
+ version='3.1.0.dev1',
18
18
  description='A REST client for OpenCGA enterprise REST web services',
19
19
  long_description=long_description,
20
20
  long_description_content_type='text/x-rst',
File without changes