elabapi-python 5.6.0__py3-none-any.whl → 6.0.0__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.
- elabapi_python/__init__.py +13 -4
- elabapi_python/api/__init__.py +5 -4
- elabapi_python/api/containers_api.py +10 -10
- elabapi_python/api/{experiments_categories_api.py → experiment_categories_api.py} +3 -3
- elabapi_python/api/{experiments_status_api.py → experiment_status_api.py} +5 -5
- elabapi_python/api/experiments_api.py +5 -1
- elabapi_python/api/experiments_templates_api.py +5 -1
- elabapi_python/api/items_api.py +5 -1
- elabapi_python/api/items_types__resources_templates_api.py +5 -1
- elabapi_python/api/links_to_experiments_api.py +2 -2
- elabapi_python/api/notifications_api.py +8 -8
- elabapi_python/api/{resources_categories_api.py → resource_categories_api.py} +3 -3
- elabapi_python/api/{resources_status_api.py → resource_status_api.py} +5 -5
- elabapi_python/api/rors_api.py +894 -0
- elabapi_python/api/storage_units_api.py +6 -6
- elabapi_python/api/teamgroups_api.py +3 -3
- elabapi_python/api/user_uploads_api.py +2 -2
- elabapi_python/api_client.py +1 -1
- elabapi_python/configuration.py +2 -2
- elabapi_python/models/__init__.py +8 -0
- elabapi_python/models/apikey.py +1 -27
- elabapi_python/models/config.py +1 -1
- elabapi_python/models/containers_subid_body1.py +1 -85
- elabapi_python/models/entity_editable.py +4 -4
- elabapi_python/models/exports_body.py +4 -4
- elabapi_python/models/id5.py +84 -0
- elabapi_python/models/id6.py +84 -0
- elabapi_python/models/metadata.py +2 -2
- elabapi_python/models/metadata_extra_fields.py +35 -5
- elabapi_python/models/one_ofmetadata_extra_fields_value.py +84 -0
- elabapi_python/models/one_ofstorage_units_body_capacity.py +84 -0
- elabapi_python/models/one_ofstorage_units_id_body_capacity.py +84 -0
- elabapi_python/models/patch_action.py +60 -4
- elabapi_python/models/ror.py +142 -0
- elabapi_python/models/storage_unit.py +57 -1
- elabapi_python/models/storage_units_body.py +31 -3
- elabapi_python/models/storage_units_id_body.py +31 -3
- elabapi_python/models/team.py +29 -1
- elabapi_python/models/team_ror.py +119 -0
- elabapi_python/models/user_ror.py +119 -0
- elabapi_python/models/users_full.py +2 -2
- {elabapi_python-5.6.0.dist-info → elabapi_python-6.0.0.dist-info}/METADATA +1 -1
- {elabapi_python-5.6.0.dist-info → elabapi_python-6.0.0.dist-info}/RECORD +60 -42
- {elabapi_python-5.6.0.dist-info → elabapi_python-6.0.0.dist-info}/WHEEL +1 -1
- test/test_containers_api.py +1 -1
- test/{test_experiments_categories_api.py → test_experiment_categories_api.py} +5 -5
- test/{test_experiments_status_api.py → test_experiment_status_api.py} +6 -6
- test/test_id5.py +39 -0
- test/test_id6.py +39 -0
- test/test_links_to_experiments_api.py +1 -1
- test/test_one_ofmetadata_extra_fields_value.py +39 -0
- test/test_one_ofstorage_units_body_capacity.py +39 -0
- test/test_one_ofstorage_units_id_body_capacity.py +39 -0
- test/{test_resources_categories_api.py → test_resource_categories_api.py} +5 -5
- test/{test_resources_status_api.py → test_resource_status_api.py} +5 -5
- test/test_ror.py +39 -0
- test/test_rors_api.py +96 -0
- test/test_team_ror.py +39 -0
- test/test_user_ror.py +39 -0
- {elabapi_python-5.6.0.dist-info → elabapi_python-6.0.0.dist-info}/top_level.txt +0 -0
elabapi_python/__init__.py
CHANGED
|
@@ -24,9 +24,9 @@ from elabapi_python.api.containers_api import ContainersApi
|
|
|
24
24
|
from elabapi_python.api.custom_fields_keys_api import CustomFieldsKeysApi
|
|
25
25
|
from elabapi_python.api.d_space_api import DSpaceApi
|
|
26
26
|
from elabapi_python.api.events_api import EventsApi
|
|
27
|
+
from elabapi_python.api.experiment_categories_api import ExperimentCategoriesApi
|
|
28
|
+
from elabapi_python.api.experiment_status_api import ExperimentStatusApi
|
|
27
29
|
from elabapi_python.api.experiments_api import ExperimentsApi
|
|
28
|
-
from elabapi_python.api.experiments_categories_api import ExperimentsCategoriesApi
|
|
29
|
-
from elabapi_python.api.experiments_status_api import ExperimentsStatusApi
|
|
30
30
|
from elabapi_python.api.experiments_templates_api import ExperimentsTemplatesApi
|
|
31
31
|
from elabapi_python.api.exports_api import ExportsApi
|
|
32
32
|
from elabapi_python.api.favorite_tags_api import FavoriteTagsApi
|
|
@@ -41,9 +41,10 @@ from elabapi_python.api.links_to_compounds_api import LinksToCompoundsApi
|
|
|
41
41
|
from elabapi_python.api.links_to_experiments_api import LinksToExperimentsApi
|
|
42
42
|
from elabapi_python.api.links_to_items_api import LinksToItemsApi
|
|
43
43
|
from elabapi_python.api.notifications_api import NotificationsApi
|
|
44
|
+
from elabapi_python.api.rors_api import RORsApi
|
|
44
45
|
from elabapi_python.api.reports_api import ReportsApi
|
|
45
|
-
from elabapi_python.api.
|
|
46
|
-
from elabapi_python.api.
|
|
46
|
+
from elabapi_python.api.resource_categories_api import ResourceCategoriesApi
|
|
47
|
+
from elabapi_python.api.resource_status_api import ResourceStatusApi
|
|
47
48
|
from elabapi_python.api.revisions_api import RevisionsApi
|
|
48
49
|
from elabapi_python.api.steps_api import StepsApi
|
|
49
50
|
from elabapi_python.api.storage_units_api import StorageUnitsApi
|
|
@@ -105,6 +106,8 @@ from elabapi_python.models.id1 import Id1
|
|
|
105
106
|
from elabapi_python.models.id2 import Id2
|
|
106
107
|
from elabapi_python.models.id3 import Id3
|
|
107
108
|
from elabapi_python.models.id4 import Id4
|
|
109
|
+
from elabapi_python.models.id5 import Id5
|
|
110
|
+
from elabapi_python.models.id6 import Id6
|
|
108
111
|
from elabapi_python.models.id_certs_body import IdCertsBody
|
|
109
112
|
from elabapi_python.models.id_comments_body import IdCommentsBody
|
|
110
113
|
from elabapi_python.models.id_endpoints_body import IdEndpointsBody
|
|
@@ -155,9 +158,13 @@ from elabapi_python.models.metadata_elabftw_extra_fields_groups import MetadataE
|
|
|
155
158
|
from elabapi_python.models.metadata_extra_fields import MetadataExtraFields
|
|
156
159
|
from elabapi_python.models.notification import Notification
|
|
157
160
|
from elabapi_python.models.notifications_subid_body import NotificationsSubidBody
|
|
161
|
+
from elabapi_python.models.one_ofmetadata_extra_fields_value import OneOfmetadataExtraFieldsValue
|
|
162
|
+
from elabapi_python.models.one_ofstorage_units_body_capacity import OneOfstorageUnitsBodyCapacity
|
|
163
|
+
from elabapi_python.models.one_ofstorage_units_id_body_capacity import OneOfstorageUnitsIdBodyCapacity
|
|
158
164
|
from elabapi_python.models.patch_action import PatchAction
|
|
159
165
|
from elabapi_python.models.revision import Revision
|
|
160
166
|
from elabapi_python.models.revisions_subid_body import RevisionsSubidBody
|
|
167
|
+
from elabapi_python.models.ror import Ror
|
|
161
168
|
from elabapi_python.models.statuslike import Statuslike
|
|
162
169
|
from elabapi_python.models.step import Step
|
|
163
170
|
from elabapi_python.models.steps_subid_body import StepsSubidBody
|
|
@@ -168,6 +175,7 @@ from elabapi_python.models.tag import Tag
|
|
|
168
175
|
from elabapi_python.models.tags_subid_body import TagsSubidBody
|
|
169
176
|
from elabapi_python.models.tags_subid_body1 import TagsSubidBody1
|
|
170
177
|
from elabapi_python.models.team import Team
|
|
178
|
+
from elabapi_python.models.team_ror import TeamRor
|
|
171
179
|
from elabapi_python.models.teamgroup import Teamgroup
|
|
172
180
|
from elabapi_python.models.teamgroup_users import TeamgroupUsers
|
|
173
181
|
from elabapi_python.models.teamgroups_subid_body import TeamgroupsSubidBody
|
|
@@ -181,6 +189,7 @@ from elabapi_python.models.unfinished_steps import UnfinishedSteps
|
|
|
181
189
|
from elabapi_python.models.upload import Upload
|
|
182
190
|
from elabapi_python.models.uploads_subid_body import UploadsSubidBody
|
|
183
191
|
from elabapi_python.models.uploads_subid_body1 import UploadsSubidBody1
|
|
192
|
+
from elabapi_python.models.user_ror import UserRor
|
|
184
193
|
from elabapi_python.models.users import Users
|
|
185
194
|
from elabapi_python.models.users_body import UsersBody
|
|
186
195
|
from elabapi_python.models.users_full import UsersFull
|
elabapi_python/api/__init__.py
CHANGED
|
@@ -12,9 +12,9 @@ from elabapi_python.api.containers_api import ContainersApi
|
|
|
12
12
|
from elabapi_python.api.custom_fields_keys_api import CustomFieldsKeysApi
|
|
13
13
|
from elabapi_python.api.d_space_api import DSpaceApi
|
|
14
14
|
from elabapi_python.api.events_api import EventsApi
|
|
15
|
+
from elabapi_python.api.experiment_categories_api import ExperimentCategoriesApi
|
|
16
|
+
from elabapi_python.api.experiment_status_api import ExperimentStatusApi
|
|
15
17
|
from elabapi_python.api.experiments_api import ExperimentsApi
|
|
16
|
-
from elabapi_python.api.experiments_categories_api import ExperimentsCategoriesApi
|
|
17
|
-
from elabapi_python.api.experiments_status_api import ExperimentsStatusApi
|
|
18
18
|
from elabapi_python.api.experiments_templates_api import ExperimentsTemplatesApi
|
|
19
19
|
from elabapi_python.api.exports_api import ExportsApi
|
|
20
20
|
from elabapi_python.api.favorite_tags_api import FavoriteTagsApi
|
|
@@ -29,9 +29,10 @@ from elabapi_python.api.links_to_compounds_api import LinksToCompoundsApi
|
|
|
29
29
|
from elabapi_python.api.links_to_experiments_api import LinksToExperimentsApi
|
|
30
30
|
from elabapi_python.api.links_to_items_api import LinksToItemsApi
|
|
31
31
|
from elabapi_python.api.notifications_api import NotificationsApi
|
|
32
|
+
from elabapi_python.api.rors_api import RORsApi
|
|
32
33
|
from elabapi_python.api.reports_api import ReportsApi
|
|
33
|
-
from elabapi_python.api.
|
|
34
|
-
from elabapi_python.api.
|
|
34
|
+
from elabapi_python.api.resource_categories_api import ResourceCategoriesApi
|
|
35
|
+
from elabapi_python.api.resource_status_api import ResourceStatusApi
|
|
35
36
|
from elabapi_python.api.revisions_api import RevisionsApi
|
|
36
37
|
from elabapi_python.api.steps_api import StepsApi
|
|
37
38
|
from elabapi_python.api.storage_units_api import StorageUnitsApi
|
|
@@ -35,7 +35,7 @@ class ContainersApi(object):
|
|
|
35
35
|
def delete_container(self, entity_type, id, subid, **kwargs): # noqa: E501
|
|
36
36
|
"""Delete a container. # noqa: E501
|
|
37
37
|
|
|
38
|
-
Remove an entity from a storage unit. # noqa: E501
|
|
38
|
+
Remove an entity from a storage unit. Takes no body: when the team that owns the entity has `capture_container_deletion_reason` enabled, this returns 400 and the `PATCH` variant must be used instead. A container that does not exist returns 404, so a deletion that removed nothing is never reported as a success. # noqa: E501
|
|
39
39
|
This method makes a synchronous HTTP request by default. To make an
|
|
40
40
|
asynchronous HTTP request, please pass async_req=True
|
|
41
41
|
>>> thread = api.delete_container(entity_type, id, subid, async_req=True)
|
|
@@ -59,7 +59,7 @@ class ContainersApi(object):
|
|
|
59
59
|
def delete_container_with_http_info(self, entity_type, id, subid, **kwargs): # noqa: E501
|
|
60
60
|
"""Delete a container. # noqa: E501
|
|
61
61
|
|
|
62
|
-
Remove an entity from a storage unit. # noqa: E501
|
|
62
|
+
Remove an entity from a storage unit. Takes no body: when the team that owns the entity has `capture_container_deletion_reason` enabled, this returns 400 and the `PATCH` variant must be used instead. A container that does not exist returns 404, so a deletion that removed nothing is never reported as a success. # noqa: E501
|
|
63
63
|
This method makes a synchronous HTTP request by default. To make an
|
|
64
64
|
asynchronous HTTP request, please pass async_req=True
|
|
65
65
|
>>> thread = api.delete_container_with_http_info(entity_type, id, subid, async_req=True)
|
|
@@ -144,9 +144,9 @@ class ContainersApi(object):
|
|
|
144
144
|
collection_formats=collection_formats)
|
|
145
145
|
|
|
146
146
|
def patch_container(self, entity_type, id, subid, **kwargs): # noqa: E501
|
|
147
|
-
"""Modify a container. # noqa: E501
|
|
147
|
+
"""Modify a container, or delete one giving a reason. # noqa: E501
|
|
148
148
|
|
|
149
|
-
|
|
149
|
+
With `action: update` (the default), update the quantity stored, the unit, or the storage location of a container. Setting `storage_id` moves the container to a different storage unit while preserving its `id` and `created_at`. A move is rejected with `400` if the destination has a `capacity` and is already full. Moving a container out of a full location is always allowed, and moving it to where it already is remains a no-op. With `action: destroy`, remove the container `subid`. This is the way to delete when the team that owns the entity has `capture_container_deletion_reason` enabled: a `deletion_reason` is then mandatory, and so is a `deletion_comment` when the reason is `other` (100). The reason is recorded in the changelog of the parent entity. Otherwise, use `DELETE`, which takes no body. # noqa: E501
|
|
150
150
|
This method makes a synchronous HTTP request by default. To make an
|
|
151
151
|
asynchronous HTTP request, please pass async_req=True
|
|
152
152
|
>>> thread = api.patch_container(entity_type, id, subid, async_req=True)
|
|
@@ -156,7 +156,7 @@ class ContainersApi(object):
|
|
|
156
156
|
:param str entity_type: Entity type (required)
|
|
157
157
|
:param int id: ID of the entity (required)
|
|
158
158
|
:param int subid: ID of the container (required)
|
|
159
|
-
:param ContainersSubidBody1 body: Parameters for modifying a container.
|
|
159
|
+
:param ContainersSubidBody1 body: Parameters for modifying or deleting a container.
|
|
160
160
|
:return: Container
|
|
161
161
|
If the method is called asynchronously,
|
|
162
162
|
returns the request thread.
|
|
@@ -169,9 +169,9 @@ class ContainersApi(object):
|
|
|
169
169
|
return data
|
|
170
170
|
|
|
171
171
|
def patch_container_with_http_info(self, entity_type, id, subid, **kwargs): # noqa: E501
|
|
172
|
-
"""Modify a container. # noqa: E501
|
|
172
|
+
"""Modify a container, or delete one giving a reason. # noqa: E501
|
|
173
173
|
|
|
174
|
-
|
|
174
|
+
With `action: update` (the default), update the quantity stored, the unit, or the storage location of a container. Setting `storage_id` moves the container to a different storage unit while preserving its `id` and `created_at`. A move is rejected with `400` if the destination has a `capacity` and is already full. Moving a container out of a full location is always allowed, and moving it to where it already is remains a no-op. With `action: destroy`, remove the container `subid`. This is the way to delete when the team that owns the entity has `capture_container_deletion_reason` enabled: a `deletion_reason` is then mandatory, and so is a `deletion_comment` when the reason is `other` (100). The reason is recorded in the changelog of the parent entity. Otherwise, use `DELETE`, which takes no body. # noqa: E501
|
|
175
175
|
This method makes a synchronous HTTP request by default. To make an
|
|
176
176
|
asynchronous HTTP request, please pass async_req=True
|
|
177
177
|
>>> thread = api.patch_container_with_http_info(entity_type, id, subid, async_req=True)
|
|
@@ -181,7 +181,7 @@ class ContainersApi(object):
|
|
|
181
181
|
:param str entity_type: Entity type (required)
|
|
182
182
|
:param int id: ID of the entity (required)
|
|
183
183
|
:param int subid: ID of the container (required)
|
|
184
|
-
:param ContainersSubidBody1 body: Parameters for modifying a container.
|
|
184
|
+
:param ContainersSubidBody1 body: Parameters for modifying or deleting a container.
|
|
185
185
|
:return: Container
|
|
186
186
|
If the method is called asynchronously,
|
|
187
187
|
returns the request thread.
|
|
@@ -265,7 +265,7 @@ class ContainersApi(object):
|
|
|
265
265
|
def post_container(self, entity_type, id, subid, **kwargs): # noqa: E501
|
|
266
266
|
"""Create a container for this entity. # noqa: E501
|
|
267
267
|
|
|
268
|
-
Store this entity in a storage unit with a specified quantity. # noqa: E501
|
|
268
|
+
Store this entity in a storage unit with a specified quantity. Rejected with `400` if the storage unit has a `capacity` and already holds that many containers. Containers of binned entities still occupy their slot, as binning a record does not empty a freezer. # noqa: E501
|
|
269
269
|
This method makes a synchronous HTTP request by default. To make an
|
|
270
270
|
asynchronous HTTP request, please pass async_req=True
|
|
271
271
|
>>> thread = api.post_container(entity_type, id, subid, async_req=True)
|
|
@@ -290,7 +290,7 @@ class ContainersApi(object):
|
|
|
290
290
|
def post_container_with_http_info(self, entity_type, id, subid, **kwargs): # noqa: E501
|
|
291
291
|
"""Create a container for this entity. # noqa: E501
|
|
292
292
|
|
|
293
|
-
Store this entity in a storage unit with a specified quantity. # noqa: E501
|
|
293
|
+
Store this entity in a storage unit with a specified quantity. Rejected with `400` if the storage unit has a `capacity` and already holds that many containers. Containers of binned entities still occupy their slot, as binning a record does not empty a freezer. # noqa: E501
|
|
294
294
|
This method makes a synchronous HTTP request by default. To make an
|
|
295
295
|
asynchronous HTTP request, please pass async_req=True
|
|
296
296
|
>>> thread = api.post_container_with_http_info(entity_type, id, subid, async_req=True)
|
|
@@ -20,7 +20,7 @@ import six
|
|
|
20
20
|
from elabapi_python.api_client import ApiClient
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class ExperimentCategoriesApi(object):
|
|
24
24
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
25
25
|
|
|
26
26
|
Do not edit the class manually.
|
|
@@ -344,7 +344,7 @@ class ExperimentsCategoriesApi(object):
|
|
|
344
344
|
collection_formats=collection_formats)
|
|
345
345
|
|
|
346
346
|
def read_team_experiments_categories(self, id, **kwargs): # noqa: E501
|
|
347
|
-
"""Read
|
|
347
|
+
"""Read experiment categories of a team. # noqa: E501
|
|
348
348
|
|
|
349
349
|
This method makes a synchronous HTTP request by default. To make an
|
|
350
350
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -365,7 +365,7 @@ class ExperimentsCategoriesApi(object):
|
|
|
365
365
|
return data
|
|
366
366
|
|
|
367
367
|
def read_team_experiments_categories_with_http_info(self, id, **kwargs): # noqa: E501
|
|
368
|
-
"""Read
|
|
368
|
+
"""Read experiment categories of a team. # noqa: E501
|
|
369
369
|
|
|
370
370
|
This method makes a synchronous HTTP request by default. To make an
|
|
371
371
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -20,7 +20,7 @@ import six
|
|
|
20
20
|
from elabapi_python.api_client import ApiClient
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class ExperimentStatusApi(object):
|
|
24
24
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
25
25
|
|
|
26
26
|
Do not edit the class manually.
|
|
@@ -243,7 +243,7 @@ class ExperimentsStatusApi(object):
|
|
|
243
243
|
collection_formats=collection_formats)
|
|
244
244
|
|
|
245
245
|
def post_team_one_expstatus(self, id, **kwargs): # noqa: E501
|
|
246
|
-
"""Create a new
|
|
246
|
+
"""Create a new experiment status. # noqa: E501
|
|
247
247
|
|
|
248
248
|
This method makes a synchronous HTTP request by default. To make an
|
|
249
249
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -265,7 +265,7 @@ class ExperimentsStatusApi(object):
|
|
|
265
265
|
return data
|
|
266
266
|
|
|
267
267
|
def post_team_one_expstatus_with_http_info(self, id, **kwargs): # noqa: E501
|
|
268
|
-
"""Create a new
|
|
268
|
+
"""Create a new experiment status. # noqa: E501
|
|
269
269
|
|
|
270
270
|
This method makes a synchronous HTTP request by default. To make an
|
|
271
271
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -344,7 +344,7 @@ class ExperimentsStatusApi(object):
|
|
|
344
344
|
collection_formats=collection_formats)
|
|
345
345
|
|
|
346
346
|
def read_team_experiments_status(self, id, **kwargs): # noqa: E501
|
|
347
|
-
"""Read
|
|
347
|
+
"""Read experiment status of a team. # noqa: E501
|
|
348
348
|
|
|
349
349
|
This method makes a synchronous HTTP request by default. To make an
|
|
350
350
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -365,7 +365,7 @@ class ExperimentsStatusApi(object):
|
|
|
365
365
|
return data
|
|
366
366
|
|
|
367
367
|
def read_team_experiments_status_with_http_info(self, id, **kwargs): # noqa: E501
|
|
368
|
-
"""Read
|
|
368
|
+
"""Read experiment status of a team. # noqa: E501
|
|
369
369
|
|
|
370
370
|
This method makes a synchronous HTTP request by default. To make an
|
|
371
371
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -562,6 +562,7 @@ class ExperimentsApi(object):
|
|
|
562
562
|
:param str order: Change the ordering of the results.
|
|
563
563
|
:param str sort: Change the sorting of results: ascending or descending.
|
|
564
564
|
:param str state: Filter results based on their state: 1 (Normal), 2 (Archived), 3 (Deleted). Supports comma separated values.
|
|
565
|
+
:param int full: Return all columns of each entry when set to 1.
|
|
565
566
|
:return: list[Experiment]
|
|
566
567
|
If the method is called asynchronously,
|
|
567
568
|
returns the request thread.
|
|
@@ -596,12 +597,13 @@ class ExperimentsApi(object):
|
|
|
596
597
|
:param str order: Change the ordering of the results.
|
|
597
598
|
:param str sort: Change the sorting of results: ascending or descending.
|
|
598
599
|
:param str state: Filter results based on their state: 1 (Normal), 2 (Archived), 3 (Deleted). Supports comma separated values.
|
|
600
|
+
:param int full: Return all columns of each entry when set to 1.
|
|
599
601
|
:return: list[Experiment]
|
|
600
602
|
If the method is called asynchronously,
|
|
601
603
|
returns the request thread.
|
|
602
604
|
"""
|
|
603
605
|
|
|
604
|
-
all_params = ['q', 'extended', 'related', 'related_origin', 'category', 'status', 'tags', 'limit', 'offset', 'owner', 'scope', 'order', 'sort', 'state'] # noqa: E501
|
|
606
|
+
all_params = ['q', 'extended', 'related', 'related_origin', 'category', 'status', 'tags', 'limit', 'offset', 'owner', 'scope', 'order', 'sort', 'state', 'full'] # noqa: E501
|
|
605
607
|
all_params.append('async_req')
|
|
606
608
|
all_params.append('_return_http_data_only')
|
|
607
609
|
all_params.append('_preload_content')
|
|
@@ -651,6 +653,8 @@ class ExperimentsApi(object):
|
|
|
651
653
|
query_params.append(('sort', params['sort'])) # noqa: E501
|
|
652
654
|
if 'state' in params:
|
|
653
655
|
query_params.append(('state', params['state'])) # noqa: E501
|
|
656
|
+
if 'full' in params:
|
|
657
|
+
query_params.append(('full', params['full'])) # noqa: E501
|
|
654
658
|
|
|
655
659
|
header_params = {}
|
|
656
660
|
|
|
@@ -538,6 +538,7 @@ class ExperimentsTemplatesApi(object):
|
|
|
538
538
|
:param str order: Change the ordering of the results.
|
|
539
539
|
:param str sort: Change the sorting of results: ascending or descending.
|
|
540
540
|
:param str state: Filter results based on their state: 1 (Normal), 2 (Archived), 3 (Deleted). Supports comma separated values.
|
|
541
|
+
:param int full: Return all columns of each entry when set to 1.
|
|
541
542
|
:return: list[EntityTemplate]
|
|
542
543
|
If the method is called asynchronously,
|
|
543
544
|
returns the request thread.
|
|
@@ -572,12 +573,13 @@ class ExperimentsTemplatesApi(object):
|
|
|
572
573
|
:param str order: Change the ordering of the results.
|
|
573
574
|
:param str sort: Change the sorting of results: ascending or descending.
|
|
574
575
|
:param str state: Filter results based on their state: 1 (Normal), 2 (Archived), 3 (Deleted). Supports comma separated values.
|
|
576
|
+
:param int full: Return all columns of each entry when set to 1.
|
|
575
577
|
:return: list[EntityTemplate]
|
|
576
578
|
If the method is called asynchronously,
|
|
577
579
|
returns the request thread.
|
|
578
580
|
"""
|
|
579
581
|
|
|
580
|
-
all_params = ['q', 'extended', 'related', 'related_origin', 'category', 'status', 'tags', 'limit', 'offset', 'owner', 'scope', 'order', 'sort', 'state'] # noqa: E501
|
|
582
|
+
all_params = ['q', 'extended', 'related', 'related_origin', 'category', 'status', 'tags', 'limit', 'offset', 'owner', 'scope', 'order', 'sort', 'state', 'full'] # noqa: E501
|
|
581
583
|
all_params.append('async_req')
|
|
582
584
|
all_params.append('_return_http_data_only')
|
|
583
585
|
all_params.append('_preload_content')
|
|
@@ -627,6 +629,8 @@ class ExperimentsTemplatesApi(object):
|
|
|
627
629
|
query_params.append(('sort', params['sort'])) # noqa: E501
|
|
628
630
|
if 'state' in params:
|
|
629
631
|
query_params.append(('state', params['state'])) # noqa: E501
|
|
632
|
+
if 'full' in params:
|
|
633
|
+
query_params.append(('full', params['full'])) # noqa: E501
|
|
630
634
|
|
|
631
635
|
header_params = {}
|
|
632
636
|
|
elabapi_python/api/items_api.py
CHANGED
|
@@ -562,6 +562,7 @@ class ItemsApi(object):
|
|
|
562
562
|
:param str order: Change the ordering of the results.
|
|
563
563
|
:param str sort: Change the sorting of results: ascending or descending.
|
|
564
564
|
:param str state: Filter results based on their state: 1 (Normal), 2 (Archived), 3 (Deleted). Supports comma separated values.
|
|
565
|
+
:param int full: Return all columns of each entry when set to 1.
|
|
565
566
|
:return: list[Item]
|
|
566
567
|
If the method is called asynchronously,
|
|
567
568
|
returns the request thread.
|
|
@@ -596,12 +597,13 @@ class ItemsApi(object):
|
|
|
596
597
|
:param str order: Change the ordering of the results.
|
|
597
598
|
:param str sort: Change the sorting of results: ascending or descending.
|
|
598
599
|
:param str state: Filter results based on their state: 1 (Normal), 2 (Archived), 3 (Deleted). Supports comma separated values.
|
|
600
|
+
:param int full: Return all columns of each entry when set to 1.
|
|
599
601
|
:return: list[Item]
|
|
600
602
|
If the method is called asynchronously,
|
|
601
603
|
returns the request thread.
|
|
602
604
|
"""
|
|
603
605
|
|
|
604
|
-
all_params = ['q', 'extended', 'related', 'related_origin', 'category', 'status', 'tags', 'limit', 'offset', 'owner', 'scope', 'order', 'sort', 'state'] # noqa: E501
|
|
606
|
+
all_params = ['q', 'extended', 'related', 'related_origin', 'category', 'status', 'tags', 'limit', 'offset', 'owner', 'scope', 'order', 'sort', 'state', 'full'] # noqa: E501
|
|
605
607
|
all_params.append('async_req')
|
|
606
608
|
all_params.append('_return_http_data_only')
|
|
607
609
|
all_params.append('_preload_content')
|
|
@@ -651,6 +653,8 @@ class ItemsApi(object):
|
|
|
651
653
|
query_params.append(('sort', params['sort'])) # noqa: E501
|
|
652
654
|
if 'state' in params:
|
|
653
655
|
query_params.append(('state', params['state'])) # noqa: E501
|
|
656
|
+
if 'full' in params:
|
|
657
|
+
query_params.append(('full', params['full'])) # noqa: E501
|
|
654
658
|
|
|
655
659
|
header_params = {}
|
|
656
660
|
|
|
@@ -538,6 +538,7 @@ class ItemsTypesResourcesTemplatesApi(object):
|
|
|
538
538
|
:param str order: Change the ordering of the results.
|
|
539
539
|
:param str sort: Change the sorting of results: ascending or descending.
|
|
540
540
|
:param str state: Filter results based on their state: 1 (Normal), 2 (Archived), 3 (Deleted). Supports comma separated values.
|
|
541
|
+
:param int full: Return all columns of each entry when set to 1.
|
|
541
542
|
:return: list[EntityTemplate]
|
|
542
543
|
If the method is called asynchronously,
|
|
543
544
|
returns the request thread.
|
|
@@ -572,12 +573,13 @@ class ItemsTypesResourcesTemplatesApi(object):
|
|
|
572
573
|
:param str order: Change the ordering of the results.
|
|
573
574
|
:param str sort: Change the sorting of results: ascending or descending.
|
|
574
575
|
:param str state: Filter results based on their state: 1 (Normal), 2 (Archived), 3 (Deleted). Supports comma separated values.
|
|
576
|
+
:param int full: Return all columns of each entry when set to 1.
|
|
575
577
|
:return: list[EntityTemplate]
|
|
576
578
|
If the method is called asynchronously,
|
|
577
579
|
returns the request thread.
|
|
578
580
|
"""
|
|
579
581
|
|
|
580
|
-
all_params = ['q', 'extended', 'related', 'related_origin', 'category', 'status', 'tags', 'limit', 'offset', 'owner', 'scope', 'order', 'sort', 'state'] # noqa: E501
|
|
582
|
+
all_params = ['q', 'extended', 'related', 'related_origin', 'category', 'status', 'tags', 'limit', 'offset', 'owner', 'scope', 'order', 'sort', 'state', 'full'] # noqa: E501
|
|
581
583
|
all_params.append('async_req')
|
|
582
584
|
all_params.append('_return_http_data_only')
|
|
583
585
|
all_params.append('_preload_content')
|
|
@@ -627,6 +629,8 @@ class ItemsTypesResourcesTemplatesApi(object):
|
|
|
627
629
|
query_params.append(('sort', params['sort'])) # noqa: E501
|
|
628
630
|
if 'state' in params:
|
|
629
631
|
query_params.append(('state', params['state'])) # noqa: E501
|
|
632
|
+
if 'full' in params:
|
|
633
|
+
query_params.append(('full', params['full'])) # noqa: E501
|
|
630
634
|
|
|
631
635
|
header_params = {}
|
|
632
636
|
|
|
@@ -261,7 +261,7 @@ class LinksToExperimentsApi(object):
|
|
|
261
261
|
collection_formats=collection_formats)
|
|
262
262
|
|
|
263
263
|
def read_entity_experiments_links(self, entity_type, id, **kwargs): # noqa: E501
|
|
264
|
-
"""Read all
|
|
264
|
+
"""Read all experiment links of that entity. # noqa: E501
|
|
265
265
|
|
|
266
266
|
This method makes a synchronous HTTP request by default. To make an
|
|
267
267
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -283,7 +283,7 @@ class LinksToExperimentsApi(object):
|
|
|
283
283
|
return data
|
|
284
284
|
|
|
285
285
|
def read_entity_experiments_links_with_http_info(self, entity_type, id, **kwargs): # noqa: E501
|
|
286
|
-
"""Read all
|
|
286
|
+
"""Read all experiment links of that entity. # noqa: E501
|
|
287
287
|
|
|
288
288
|
This method makes a synchronous HTTP request by default. To make an
|
|
289
289
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -42,7 +42,7 @@ class NotificationsApi(object):
|
|
|
42
42
|
>>> result = thread.get()
|
|
43
43
|
|
|
44
44
|
:param async_req bool
|
|
45
|
-
:param
|
|
45
|
+
:param Id5 id: ID of the user or `me`. (required)
|
|
46
46
|
:return: None
|
|
47
47
|
If the method is called asynchronously,
|
|
48
48
|
returns the request thread.
|
|
@@ -64,7 +64,7 @@ class NotificationsApi(object):
|
|
|
64
64
|
>>> result = thread.get()
|
|
65
65
|
|
|
66
66
|
:param async_req bool
|
|
67
|
-
:param
|
|
67
|
+
:param Id5 id: ID of the user or `me`. (required)
|
|
68
68
|
:return: None
|
|
69
69
|
If the method is called asynchronously,
|
|
70
70
|
returns the request thread.
|
|
@@ -136,7 +136,7 @@ class NotificationsApi(object):
|
|
|
136
136
|
>>> result = thread.get()
|
|
137
137
|
|
|
138
138
|
:param async_req bool
|
|
139
|
-
:param
|
|
139
|
+
:param Id6 id: ID of the user or `me`. (required)
|
|
140
140
|
:param int subid: ID of the notification. (required)
|
|
141
141
|
:param NotificationsSubidBody body: Defines whether the notification is acknowledged.
|
|
142
142
|
:return: Notification
|
|
@@ -159,7 +159,7 @@ class NotificationsApi(object):
|
|
|
159
159
|
>>> result = thread.get()
|
|
160
160
|
|
|
161
161
|
:param async_req bool
|
|
162
|
-
:param
|
|
162
|
+
:param Id6 id: ID of the user or `me`. (required)
|
|
163
163
|
:param int subid: ID of the notification. (required)
|
|
164
164
|
:param NotificationsSubidBody body: Defines whether the notification is acknowledged.
|
|
165
165
|
:return: Notification
|
|
@@ -245,7 +245,7 @@ class NotificationsApi(object):
|
|
|
245
245
|
>>> result = thread.get()
|
|
246
246
|
|
|
247
247
|
:param async_req bool
|
|
248
|
-
:param
|
|
248
|
+
:param Id6 id: ID of the user or `me`. (required)
|
|
249
249
|
:param int subid: ID of the notification. (required)
|
|
250
250
|
:return: Notification
|
|
251
251
|
If the method is called asynchronously,
|
|
@@ -267,7 +267,7 @@ class NotificationsApi(object):
|
|
|
267
267
|
>>> result = thread.get()
|
|
268
268
|
|
|
269
269
|
:param async_req bool
|
|
270
|
-
:param
|
|
270
|
+
:param Id6 id: ID of the user or `me`. (required)
|
|
271
271
|
:param int subid: ID of the notification. (required)
|
|
272
272
|
:return: Notification
|
|
273
273
|
If the method is called asynchronously,
|
|
@@ -346,7 +346,7 @@ class NotificationsApi(object):
|
|
|
346
346
|
>>> result = thread.get()
|
|
347
347
|
|
|
348
348
|
:param async_req bool
|
|
349
|
-
:param
|
|
349
|
+
:param Id5 id: ID of the user or `me`. (required)
|
|
350
350
|
:return: InlineResponse2007
|
|
351
351
|
If the method is called asynchronously,
|
|
352
352
|
returns the request thread.
|
|
@@ -367,7 +367,7 @@ class NotificationsApi(object):
|
|
|
367
367
|
>>> result = thread.get()
|
|
368
368
|
|
|
369
369
|
:param async_req bool
|
|
370
|
-
:param
|
|
370
|
+
:param Id5 id: ID of the user or `me`. (required)
|
|
371
371
|
:return: InlineResponse2007
|
|
372
372
|
If the method is called asynchronously,
|
|
373
373
|
returns the request thread.
|
|
@@ -20,7 +20,7 @@ import six
|
|
|
20
20
|
from elabapi_python.api_client import ApiClient
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class ResourceCategoriesApi(object):
|
|
24
24
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
25
25
|
|
|
26
26
|
Do not edit the class manually.
|
|
@@ -445,7 +445,7 @@ class ResourcesCategoriesApi(object):
|
|
|
445
445
|
collection_formats=collection_formats)
|
|
446
446
|
|
|
447
447
|
def read_team_resources_categories(self, id, **kwargs): # noqa: E501
|
|
448
|
-
"""Read
|
|
448
|
+
"""Read resource categories of a team. # noqa: E501
|
|
449
449
|
|
|
450
450
|
This method makes a synchronous HTTP request by default. To make an
|
|
451
451
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -466,7 +466,7 @@ class ResourcesCategoriesApi(object):
|
|
|
466
466
|
return data
|
|
467
467
|
|
|
468
468
|
def read_team_resources_categories_with_http_info(self, id, **kwargs): # noqa: E501
|
|
469
|
-
"""Read
|
|
469
|
+
"""Read resource categories of a team. # noqa: E501
|
|
470
470
|
|
|
471
471
|
This method makes a synchronous HTTP request by default. To make an
|
|
472
472
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -20,7 +20,7 @@ import six
|
|
|
20
20
|
from elabapi_python.api_client import ApiClient
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class ResourceStatusApi(object):
|
|
24
24
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
25
25
|
|
|
26
26
|
Do not edit the class manually.
|
|
@@ -252,7 +252,7 @@ class ResourcesStatusApi(object):
|
|
|
252
252
|
|
|
253
253
|
:param async_req bool
|
|
254
254
|
:param int id: ID of the team. (required)
|
|
255
|
-
:param IdItemsStatusBody body: Parameters for creating a
|
|
255
|
+
:param IdItemsStatusBody body: Parameters for creating a resource status.
|
|
256
256
|
:return: None
|
|
257
257
|
If the method is called asynchronously,
|
|
258
258
|
returns the request thread.
|
|
@@ -274,7 +274,7 @@ class ResourcesStatusApi(object):
|
|
|
274
274
|
|
|
275
275
|
:param async_req bool
|
|
276
276
|
:param int id: ID of the team. (required)
|
|
277
|
-
:param IdItemsStatusBody body: Parameters for creating a
|
|
277
|
+
:param IdItemsStatusBody body: Parameters for creating a resource status.
|
|
278
278
|
:return: None
|
|
279
279
|
If the method is called asynchronously,
|
|
280
280
|
returns the request thread.
|
|
@@ -344,7 +344,7 @@ class ResourcesStatusApi(object):
|
|
|
344
344
|
collection_formats=collection_formats)
|
|
345
345
|
|
|
346
346
|
def read_team_items_status(self, id, **kwargs): # noqa: E501
|
|
347
|
-
"""Read
|
|
347
|
+
"""Read resource status of a team. # noqa: E501
|
|
348
348
|
|
|
349
349
|
This method makes a synchronous HTTP request by default. To make an
|
|
350
350
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -365,7 +365,7 @@ class ResourcesStatusApi(object):
|
|
|
365
365
|
return data
|
|
366
366
|
|
|
367
367
|
def read_team_items_status_with_http_info(self, id, **kwargs): # noqa: E501
|
|
368
|
-
"""Read
|
|
368
|
+
"""Read resource status of a team. # noqa: E501
|
|
369
369
|
|
|
370
370
|
This method makes a synchronous HTTP request by default. To make an
|
|
371
371
|
asynchronous HTTP request, please pass async_req=True
|