elabapi-python 5.4.2__tar.gz → 5.5.0__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.
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/PKG-INFO +1 -1
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/README.md +10 -2
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/__init__.py +4 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/__init__.py +1 -0
- elabapi_python-5.5.0/elabapi_python/api/idps_sources_api.py +500 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/storage_units_api.py +12 -8
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api_client.py +1 -1
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/configuration.py +1 -1
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/__init__.py +3 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/entity.py +85 -1
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/entity_and_item_editable.py +31 -3
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/entity_template.py +85 -1
- elabapi_python-5.5.0/elabapi_python/models/idp_source.py +240 -0
- elabapi_python-5.5.0/elabapi_python/models/idps_sources_body.py +113 -0
- elabapi_python-5.5.0/elabapi_python/models/idps_sources_id_body.py +119 -0
- elabapi_python-5.5.0/elabapi_python/models/inline_response200.py +84 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/item.py +31 -3
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/item_editable.py +31 -3
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python.egg-info/PKG-INFO +1 -1
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python.egg-info/SOURCES.txt +8 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/setup.py +1 -1
- elabapi_python-5.5.0/test/test_idp_source.py +39 -0
- elabapi_python-5.5.0/test/test_idps_sources_api.py +68 -0
- elabapi_python-5.5.0/test/test_idps_sources_body.py +39 -0
- elabapi_python-5.5.0/test/test_idps_sources_id_body.py +39 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_storage_units_api.py +1 -1
- elabapi_python-5.4.2/elabapi_python/models/inline_response200.py +0 -1356
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/api_keys_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/comments_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/compounds_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/config_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/containers_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/d_space_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/events_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/experiments_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/experiments_categories_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/experiments_status_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/experiments_templates_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/exports_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/extra_fields_keys_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/favorite_tags_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/idps_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/import_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/info_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/items_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/items_types__resources_templates_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/links_to_compounds_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/links_to_experiments_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/links_to_items_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/notifications_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/reports_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/resources_categories_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/resources_status_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/revisions_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/steps_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/tags_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/team_tags_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/teamgroups_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/teams_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/todolist_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/unfinished_steps_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/uploads_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/user_uploads_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/api/users_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/any_ofuploads_subid_body1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/apikey.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/apikeys_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/changelog.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/comment.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/compound.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/compound_create_request.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/compound_duplicate_request.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/compounds_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/compounds_links_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/config.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/container.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/containers_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/containers_subid_body1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/dspace_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/dspace_body1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/dspace_entity.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/dspace_metadata.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/dspace_metadata1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/entity_duplicate.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/entity_editable.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/entity_template_editable.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/error.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/event.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/event_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/eventid_delta.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/events_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/exclusive_edit_mode.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/experiment.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/experiments_links_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/experiments_templates_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/export.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/exports_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/extra_fields_keys.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/favtags_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id2.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id3.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id4.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id_comments_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id_experiments_categories_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id_experiments_status_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id_items_status_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id_resources_categories_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id_steps_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id_tags_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id_tags_body1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id_teamgroups_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/id_uploads_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/idp.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/idp_cert.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/idp_endpoint.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/idps_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/idps_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/import_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2001.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response20010.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2001_experiments.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2001_items.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2001_users.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2002.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2003.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2004.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2004_query_parameters.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2005.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2006.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2007.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2008.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2009.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2009_embedded.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/inline_response2009_embedded_entries.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/items_links_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/items_types_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/link.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/metadata.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/metadata_elabftw.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/metadata_elabftw_extra_fields_groups.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/metadata_extra_fields.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/notification.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/patch_action.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/revision.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/revisions_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/statuslike.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/step.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/steps_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/storage_unit.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/storage_units_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/storage_units_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/tag.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/tags_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/tags_subid_body1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/team.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/teamgroup.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/teamgroup_users.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/teamgroups_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/teams_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/teams_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/todoitem.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/todolist_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/todolist_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/unfinished_step.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/unfinished_steps.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/upload.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/uploads_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/uploads_subid_body1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/users.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/users_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/users_full.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/users_full_teams.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/models/users_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python/rest.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python.egg-info/dependency_links.txt +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python.egg-info/requires.txt +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/elabapi_python.egg-info/top_level.txt +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/setup.cfg +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/__init__.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_any_ofuploads_subid_body1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_api_keys_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_apikey.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_apikeys_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_changelog.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_comment.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_comments_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_compound.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_compound_create_request.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_compound_duplicate_request.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_compounds_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_compounds_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_compounds_links_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_config.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_config_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_container.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_containers_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_containers_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_containers_subid_body1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_d_space_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_dspace_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_dspace_body1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_dspace_entity.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_dspace_metadata.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_dspace_metadata1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_entity.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_entity_and_item_editable.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_entity_duplicate.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_entity_editable.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_entity_template.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_entity_template_editable.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_error.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_event.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_event_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_eventid_delta.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_events_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_events_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_exclusive_edit_mode.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_experiment.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_experiments_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_experiments_categories_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_experiments_links_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_experiments_status_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_experiments_templates_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_experiments_templates_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_export.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_exports_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_exports_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_extra_fields_keys.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_extra_fields_keys_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_favorite_tags_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_favtags_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id2.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id3.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id4.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id_comments_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id_experiments_categories_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id_experiments_status_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id_items_status_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id_resources_categories_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id_steps_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id_tags_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id_tags_body1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id_teamgroups_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_id_uploads_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_idp.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_idp_cert.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_idp_endpoint.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_idps_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_idps_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_idps_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_import_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_import_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_info_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response200.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2001.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response20010.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2001_experiments.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2001_items.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2001_users.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2002.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2003.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2004.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2004_query_parameters.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2005.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2006.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2007.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2008.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2009.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2009_embedded.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_inline_response2009_embedded_entries.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_item.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_item_editable.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_items_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_items_links_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_items_types__resources_templates_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_items_types_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_link.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_links_to_compounds_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_links_to_experiments_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_links_to_items_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_metadata.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_metadata_elabftw.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_metadata_elabftw_extra_fields_groups.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_metadata_extra_fields.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_notification.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_notifications_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_patch_action.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_reports_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_resources_categories_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_resources_status_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_revision.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_revisions_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_revisions_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_statuslike.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_step.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_steps_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_steps_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_storage_unit.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_storage_units_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_storage_units_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_tag.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_tags_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_tags_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_tags_subid_body1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_team.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_team_tags_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_teamgroup.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_teamgroup_users.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_teamgroups_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_teamgroups_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_teams_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_teams_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_teams_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_todoitem.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_todolist_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_todolist_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_todolist_id_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_unfinished_step.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_unfinished_steps.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_unfinished_steps_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_upload.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_uploads_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_uploads_subid_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_uploads_subid_body1.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_user_uploads_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_users.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_users_api.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_users_body.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_users_full.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_users_full_teams.py +0 -0
- {elabapi_python-5.4.2 → elabapi_python-5.5.0}/test/test_users_id_body.py +0 -0
|
@@ -4,7 +4,7 @@ This document describes all available endpoints and methods for eLabFTW's API ve
|
|
|
4
4
|
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
5
5
|
|
|
6
6
|
- API version: 2.0.0
|
|
7
|
-
- Package version: 5.
|
|
7
|
+
- Package version: 5.5.0
|
|
8
8
|
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
|
|
9
9
|
|
|
10
10
|
## Requirements.
|
|
@@ -169,6 +169,11 @@ Class | Method | HTTP request | Description
|
|
|
169
169
|
*IdpsApi* | [**post_idp**](docs/IdpsApi.md#post_idp) | **POST** /idps | Create an idp.
|
|
170
170
|
*IdpsApi* | [**read_idp**](docs/IdpsApi.md#read_idp) | **GET** /idps/{id} | Read an idp.
|
|
171
171
|
*IdpsApi* | [**read_idps**](docs/IdpsApi.md#read_idps) | **GET** /idps | Read all IDPs.
|
|
172
|
+
*IdpsSourcesApi* | [**delete_idps_source**](docs/IdpsSourcesApi.md#delete_idps_source) | **DELETE** /idps_sources/{id} | Delete an idp source.
|
|
173
|
+
*IdpsSourcesApi* | [**patch_idps_source**](docs/IdpsSourcesApi.md#patch_idps_source) | **PATCH** /idps_sources/{id} | Patch an idp source.
|
|
174
|
+
*IdpsSourcesApi* | [**post_idp_source**](docs/IdpsSourcesApi.md#post_idp_source) | **POST** /idps_sources | Create an idp source.
|
|
175
|
+
*IdpsSourcesApi* | [**read_idps_source**](docs/IdpsSourcesApi.md#read_idps_source) | **GET** /idps_sources/{id} | Read an IdPs source
|
|
176
|
+
*IdpsSourcesApi* | [**read_idps_sources**](docs/IdpsSourcesApi.md#read_idps_sources) | **GET** /idps_sources | Read all IDPs sources
|
|
172
177
|
*ImportApi* | [**post_import**](docs/ImportApi.md#post_import) | **POST** /import | Send a file to import
|
|
173
178
|
*ImportApi* | [**read_import**](docs/ImportApi.md#read_import) | **GET** /import | Get information about this endpoint
|
|
174
179
|
*InfoApi* | [**get_info**](docs/InfoApi.md#get_info) | **GET** /info | Get information about the instance.
|
|
@@ -219,7 +224,7 @@ Class | Method | HTTP request | Description
|
|
|
219
224
|
*StorageUnitsApi* | [**patch_storage_unit**](docs/StorageUnitsApi.md#patch_storage_unit) | **PATCH** /storage_units/{id} | Modify a storage unit.
|
|
220
225
|
*StorageUnitsApi* | [**post_storage_unit**](docs/StorageUnitsApi.md#post_storage_unit) | **POST** /storage_units | Create a new storage unit.
|
|
221
226
|
*StorageUnitsApi* | [**read_storage_unit**](docs/StorageUnitsApi.md#read_storage_unit) | **GET** /storage_units/{id} | Read a storage unit.
|
|
222
|
-
*StorageUnitsApi* | [**read_storage_units**](docs/StorageUnitsApi.md#read_storage_units) | **GET** /storage_units | Read all containers
|
|
227
|
+
*StorageUnitsApi* | [**read_storage_units**](docs/StorageUnitsApi.md#read_storage_units) | **GET** /storage_units | Read all containers, or the storage unit hierarchy when `?hierarchy=true`.
|
|
223
228
|
*TagsApi* | [**delete_tag**](docs/TagsApi.md#delete_tag) | **DELETE** /{entity_type}/{id}/tags | Delete all tags.
|
|
224
229
|
*TagsApi* | [**patch_tag**](docs/TagsApi.md#patch_tag) | **PATCH** /{entity_type}/{id}/tags/{subid} | Actions on a tag (like removing it from the entity).
|
|
225
230
|
*TagsApi* | [**post_tag**](docs/TagsApi.md#post_tag) | **POST** /{entity_type}/{id}/tags | Create a tag.
|
|
@@ -315,8 +320,11 @@ Class | Method | HTTP request | Description
|
|
|
315
320
|
- [Idp](docs/Idp.md)
|
|
316
321
|
- [IdpCert](docs/IdpCert.md)
|
|
317
322
|
- [IdpEndpoint](docs/IdpEndpoint.md)
|
|
323
|
+
- [IdpSource](docs/IdpSource.md)
|
|
318
324
|
- [IdpsBody](docs/IdpsBody.md)
|
|
319
325
|
- [IdpsIdBody](docs/IdpsIdBody.md)
|
|
326
|
+
- [IdpsSourcesBody](docs/IdpsSourcesBody.md)
|
|
327
|
+
- [IdpsSourcesIdBody](docs/IdpsSourcesIdBody.md)
|
|
320
328
|
- [ImportBody](docs/ImportBody.md)
|
|
321
329
|
- [InlineResponse200](docs/InlineResponse200.md)
|
|
322
330
|
- [InlineResponse2001](docs/InlineResponse2001.md)
|
|
@@ -30,6 +30,7 @@ from elabapi_python.api.exports_api import ExportsApi
|
|
|
30
30
|
from elabapi_python.api.extra_fields_keys_api import ExtraFieldsKeysApi
|
|
31
31
|
from elabapi_python.api.favorite_tags_api import FavoriteTagsApi
|
|
32
32
|
from elabapi_python.api.idps_api import IdpsApi
|
|
33
|
+
from elabapi_python.api.idps_sources_api import IdpsSourcesApi
|
|
33
34
|
from elabapi_python.api.import_api import ImportApi
|
|
34
35
|
from elabapi_python.api.info_api import InfoApi
|
|
35
36
|
from elabapi_python.api.items_api import ItemsApi
|
|
@@ -113,8 +114,11 @@ from elabapi_python.models.id_uploads_body import IdUploadsBody
|
|
|
113
114
|
from elabapi_python.models.idp import Idp
|
|
114
115
|
from elabapi_python.models.idp_cert import IdpCert
|
|
115
116
|
from elabapi_python.models.idp_endpoint import IdpEndpoint
|
|
117
|
+
from elabapi_python.models.idp_source import IdpSource
|
|
116
118
|
from elabapi_python.models.idps_body import IdpsBody
|
|
117
119
|
from elabapi_python.models.idps_id_body import IdpsIdBody
|
|
120
|
+
from elabapi_python.models.idps_sources_body import IdpsSourcesBody
|
|
121
|
+
from elabapi_python.models.idps_sources_id_body import IdpsSourcesIdBody
|
|
118
122
|
from elabapi_python.models.import_body import ImportBody
|
|
119
123
|
from elabapi_python.models.inline_response200 import InlineResponse200
|
|
120
124
|
from elabapi_python.models.inline_response2001 import InlineResponse2001
|
|
@@ -18,6 +18,7 @@ from elabapi_python.api.exports_api import ExportsApi
|
|
|
18
18
|
from elabapi_python.api.extra_fields_keys_api import ExtraFieldsKeysApi
|
|
19
19
|
from elabapi_python.api.favorite_tags_api import FavoriteTagsApi
|
|
20
20
|
from elabapi_python.api.idps_api import IdpsApi
|
|
21
|
+
from elabapi_python.api.idps_sources_api import IdpsSourcesApi
|
|
21
22
|
from elabapi_python.api.import_api import ImportApi
|
|
22
23
|
from elabapi_python.api.info_api import InfoApi
|
|
23
24
|
from elabapi_python.api.items_api import ItemsApi
|
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
eLabFTW REST API v2 Documentation
|
|
5
|
+
|
|
6
|
+
This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 2.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
# python 2 and python 3 compatibility library
|
|
18
|
+
import six
|
|
19
|
+
|
|
20
|
+
from elabapi_python.api_client import ApiClient
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class IdpsSourcesApi(object):
|
|
24
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
25
|
+
|
|
26
|
+
Do not edit the class manually.
|
|
27
|
+
Ref: https://github.com/swagger-api/swagger-codegen
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
def __init__(self, api_client=None):
|
|
31
|
+
if api_client is None:
|
|
32
|
+
api_client = ApiClient()
|
|
33
|
+
self.api_client = api_client
|
|
34
|
+
|
|
35
|
+
def delete_idps_source(self, id, **kwargs): # noqa: E501
|
|
36
|
+
"""Delete an idp source. # noqa: E501
|
|
37
|
+
|
|
38
|
+
The idp source gets deleted. # noqa: E501
|
|
39
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
40
|
+
asynchronous HTTP request, please pass async_req=True
|
|
41
|
+
>>> thread = api.delete_idps_source(id, async_req=True)
|
|
42
|
+
>>> result = thread.get()
|
|
43
|
+
|
|
44
|
+
:param async_req bool
|
|
45
|
+
:param int id: ID of the idps source (required)
|
|
46
|
+
:return: None
|
|
47
|
+
If the method is called asynchronously,
|
|
48
|
+
returns the request thread.
|
|
49
|
+
"""
|
|
50
|
+
kwargs['_return_http_data_only'] = True
|
|
51
|
+
if kwargs.get('async_req'):
|
|
52
|
+
return self.delete_idps_source_with_http_info(id, **kwargs) # noqa: E501
|
|
53
|
+
else:
|
|
54
|
+
(data) = self.delete_idps_source_with_http_info(id, **kwargs) # noqa: E501
|
|
55
|
+
return data
|
|
56
|
+
|
|
57
|
+
def delete_idps_source_with_http_info(self, id, **kwargs): # noqa: E501
|
|
58
|
+
"""Delete an idp source. # noqa: E501
|
|
59
|
+
|
|
60
|
+
The idp source gets deleted. # noqa: E501
|
|
61
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
62
|
+
asynchronous HTTP request, please pass async_req=True
|
|
63
|
+
>>> thread = api.delete_idps_source_with_http_info(id, async_req=True)
|
|
64
|
+
>>> result = thread.get()
|
|
65
|
+
|
|
66
|
+
:param async_req bool
|
|
67
|
+
:param int id: ID of the idps source (required)
|
|
68
|
+
:return: None
|
|
69
|
+
If the method is called asynchronously,
|
|
70
|
+
returns the request thread.
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
all_params = ['id'] # noqa: E501
|
|
74
|
+
all_params.append('async_req')
|
|
75
|
+
all_params.append('_return_http_data_only')
|
|
76
|
+
all_params.append('_preload_content')
|
|
77
|
+
all_params.append('_request_timeout')
|
|
78
|
+
|
|
79
|
+
params = locals()
|
|
80
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
81
|
+
if key not in all_params:
|
|
82
|
+
raise TypeError(
|
|
83
|
+
"Got an unexpected keyword argument '%s'"
|
|
84
|
+
" to method delete_idps_source" % key
|
|
85
|
+
)
|
|
86
|
+
params[key] = val
|
|
87
|
+
del params['kwargs']
|
|
88
|
+
# verify the required parameter 'id' is set
|
|
89
|
+
if ('id' not in params or
|
|
90
|
+
params['id'] is None):
|
|
91
|
+
raise ValueError("Missing the required parameter `id` when calling `delete_idps_source`") # noqa: E501
|
|
92
|
+
|
|
93
|
+
collection_formats = {}
|
|
94
|
+
|
|
95
|
+
path_params = {}
|
|
96
|
+
if 'id' in params:
|
|
97
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
98
|
+
|
|
99
|
+
query_params = []
|
|
100
|
+
|
|
101
|
+
header_params = {}
|
|
102
|
+
|
|
103
|
+
form_params = []
|
|
104
|
+
local_var_files = {}
|
|
105
|
+
|
|
106
|
+
body_params = None
|
|
107
|
+
# HTTP header `Accept`
|
|
108
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
109
|
+
['application/json']) # noqa: E501
|
|
110
|
+
|
|
111
|
+
# Authentication setting
|
|
112
|
+
auth_settings = ['token'] # noqa: E501
|
|
113
|
+
|
|
114
|
+
return self.api_client.call_api(
|
|
115
|
+
'/idps_sources/{id}', 'DELETE',
|
|
116
|
+
path_params,
|
|
117
|
+
query_params,
|
|
118
|
+
header_params,
|
|
119
|
+
body=body_params,
|
|
120
|
+
post_params=form_params,
|
|
121
|
+
files=local_var_files,
|
|
122
|
+
response_type=None, # noqa: E501
|
|
123
|
+
auth_settings=auth_settings,
|
|
124
|
+
async_req=params.get('async_req'),
|
|
125
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
126
|
+
_preload_content=params.get('_preload_content', True),
|
|
127
|
+
_request_timeout=params.get('_request_timeout'),
|
|
128
|
+
collection_formats=collection_formats)
|
|
129
|
+
|
|
130
|
+
def patch_idps_source(self, id, **kwargs): # noqa: E501
|
|
131
|
+
"""Patch an idp source. # noqa: E501
|
|
132
|
+
|
|
133
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
134
|
+
asynchronous HTTP request, please pass async_req=True
|
|
135
|
+
>>> thread = api.patch_idps_source(id, async_req=True)
|
|
136
|
+
>>> result = thread.get()
|
|
137
|
+
|
|
138
|
+
:param async_req bool
|
|
139
|
+
:param int id: ID of the idps source (required)
|
|
140
|
+
:param IdpsSourcesIdBody body: Parameters for patching an idp source.
|
|
141
|
+
:return: IdpSource
|
|
142
|
+
If the method is called asynchronously,
|
|
143
|
+
returns the request thread.
|
|
144
|
+
"""
|
|
145
|
+
kwargs['_return_http_data_only'] = True
|
|
146
|
+
if kwargs.get('async_req'):
|
|
147
|
+
return self.patch_idps_source_with_http_info(id, **kwargs) # noqa: E501
|
|
148
|
+
else:
|
|
149
|
+
(data) = self.patch_idps_source_with_http_info(id, **kwargs) # noqa: E501
|
|
150
|
+
return data
|
|
151
|
+
|
|
152
|
+
def patch_idps_source_with_http_info(self, id, **kwargs): # noqa: E501
|
|
153
|
+
"""Patch an idp source. # noqa: E501
|
|
154
|
+
|
|
155
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
156
|
+
asynchronous HTTP request, please pass async_req=True
|
|
157
|
+
>>> thread = api.patch_idps_source_with_http_info(id, async_req=True)
|
|
158
|
+
>>> result = thread.get()
|
|
159
|
+
|
|
160
|
+
:param async_req bool
|
|
161
|
+
:param int id: ID of the idps source (required)
|
|
162
|
+
:param IdpsSourcesIdBody body: Parameters for patching an idp source.
|
|
163
|
+
:return: IdpSource
|
|
164
|
+
If the method is called asynchronously,
|
|
165
|
+
returns the request thread.
|
|
166
|
+
"""
|
|
167
|
+
|
|
168
|
+
all_params = ['id', 'body'] # noqa: E501
|
|
169
|
+
all_params.append('async_req')
|
|
170
|
+
all_params.append('_return_http_data_only')
|
|
171
|
+
all_params.append('_preload_content')
|
|
172
|
+
all_params.append('_request_timeout')
|
|
173
|
+
|
|
174
|
+
params = locals()
|
|
175
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
176
|
+
if key not in all_params:
|
|
177
|
+
raise TypeError(
|
|
178
|
+
"Got an unexpected keyword argument '%s'"
|
|
179
|
+
" to method patch_idps_source" % key
|
|
180
|
+
)
|
|
181
|
+
params[key] = val
|
|
182
|
+
del params['kwargs']
|
|
183
|
+
# verify the required parameter 'id' is set
|
|
184
|
+
if ('id' not in params or
|
|
185
|
+
params['id'] is None):
|
|
186
|
+
raise ValueError("Missing the required parameter `id` when calling `patch_idps_source`") # noqa: E501
|
|
187
|
+
|
|
188
|
+
collection_formats = {}
|
|
189
|
+
|
|
190
|
+
path_params = {}
|
|
191
|
+
if 'id' in params:
|
|
192
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
193
|
+
|
|
194
|
+
query_params = []
|
|
195
|
+
|
|
196
|
+
header_params = {}
|
|
197
|
+
|
|
198
|
+
form_params = []
|
|
199
|
+
local_var_files = {}
|
|
200
|
+
|
|
201
|
+
body_params = None
|
|
202
|
+
if 'body' in params:
|
|
203
|
+
body_params = params['body']
|
|
204
|
+
# HTTP header `Accept`
|
|
205
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
206
|
+
['application/json']) # noqa: E501
|
|
207
|
+
|
|
208
|
+
# HTTP header `Content-Type`
|
|
209
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
210
|
+
['application/json']) # noqa: E501
|
|
211
|
+
|
|
212
|
+
# Authentication setting
|
|
213
|
+
auth_settings = ['token'] # noqa: E501
|
|
214
|
+
|
|
215
|
+
return self.api_client.call_api(
|
|
216
|
+
'/idps_sources/{id}', 'PATCH',
|
|
217
|
+
path_params,
|
|
218
|
+
query_params,
|
|
219
|
+
header_params,
|
|
220
|
+
body=body_params,
|
|
221
|
+
post_params=form_params,
|
|
222
|
+
files=local_var_files,
|
|
223
|
+
response_type='IdpSource', # noqa: E501
|
|
224
|
+
auth_settings=auth_settings,
|
|
225
|
+
async_req=params.get('async_req'),
|
|
226
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
227
|
+
_preload_content=params.get('_preload_content', True),
|
|
228
|
+
_request_timeout=params.get('_request_timeout'),
|
|
229
|
+
collection_formats=collection_formats)
|
|
230
|
+
|
|
231
|
+
def post_idp_source(self, **kwargs): # noqa: E501
|
|
232
|
+
"""Create an idp source. # noqa: E501
|
|
233
|
+
|
|
234
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
235
|
+
asynchronous HTTP request, please pass async_req=True
|
|
236
|
+
>>> thread = api.post_idp_source(async_req=True)
|
|
237
|
+
>>> result = thread.get()
|
|
238
|
+
|
|
239
|
+
:param async_req bool
|
|
240
|
+
:param IdpsSourcesBody body: Parameters for creating an idp source.
|
|
241
|
+
:return: None
|
|
242
|
+
If the method is called asynchronously,
|
|
243
|
+
returns the request thread.
|
|
244
|
+
"""
|
|
245
|
+
kwargs['_return_http_data_only'] = True
|
|
246
|
+
if kwargs.get('async_req'):
|
|
247
|
+
return self.post_idp_source_with_http_info(**kwargs) # noqa: E501
|
|
248
|
+
else:
|
|
249
|
+
(data) = self.post_idp_source_with_http_info(**kwargs) # noqa: E501
|
|
250
|
+
return data
|
|
251
|
+
|
|
252
|
+
def post_idp_source_with_http_info(self, **kwargs): # noqa: E501
|
|
253
|
+
"""Create an idp source. # noqa: E501
|
|
254
|
+
|
|
255
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
256
|
+
asynchronous HTTP request, please pass async_req=True
|
|
257
|
+
>>> thread = api.post_idp_source_with_http_info(async_req=True)
|
|
258
|
+
>>> result = thread.get()
|
|
259
|
+
|
|
260
|
+
:param async_req bool
|
|
261
|
+
:param IdpsSourcesBody body: Parameters for creating an idp source.
|
|
262
|
+
:return: None
|
|
263
|
+
If the method is called asynchronously,
|
|
264
|
+
returns the request thread.
|
|
265
|
+
"""
|
|
266
|
+
|
|
267
|
+
all_params = ['body'] # noqa: E501
|
|
268
|
+
all_params.append('async_req')
|
|
269
|
+
all_params.append('_return_http_data_only')
|
|
270
|
+
all_params.append('_preload_content')
|
|
271
|
+
all_params.append('_request_timeout')
|
|
272
|
+
|
|
273
|
+
params = locals()
|
|
274
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
275
|
+
if key not in all_params:
|
|
276
|
+
raise TypeError(
|
|
277
|
+
"Got an unexpected keyword argument '%s'"
|
|
278
|
+
" to method post_idp_source" % key
|
|
279
|
+
)
|
|
280
|
+
params[key] = val
|
|
281
|
+
del params['kwargs']
|
|
282
|
+
|
|
283
|
+
collection_formats = {}
|
|
284
|
+
|
|
285
|
+
path_params = {}
|
|
286
|
+
|
|
287
|
+
query_params = []
|
|
288
|
+
|
|
289
|
+
header_params = {}
|
|
290
|
+
|
|
291
|
+
form_params = []
|
|
292
|
+
local_var_files = {}
|
|
293
|
+
|
|
294
|
+
body_params = None
|
|
295
|
+
if 'body' in params:
|
|
296
|
+
body_params = params['body']
|
|
297
|
+
# HTTP header `Accept`
|
|
298
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
299
|
+
['application/json']) # noqa: E501
|
|
300
|
+
|
|
301
|
+
# HTTP header `Content-Type`
|
|
302
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
303
|
+
['application/json']) # noqa: E501
|
|
304
|
+
|
|
305
|
+
# Authentication setting
|
|
306
|
+
auth_settings = ['token'] # noqa: E501
|
|
307
|
+
|
|
308
|
+
return self.api_client.call_api(
|
|
309
|
+
'/idps_sources', 'POST',
|
|
310
|
+
path_params,
|
|
311
|
+
query_params,
|
|
312
|
+
header_params,
|
|
313
|
+
body=body_params,
|
|
314
|
+
post_params=form_params,
|
|
315
|
+
files=local_var_files,
|
|
316
|
+
response_type=None, # noqa: E501
|
|
317
|
+
auth_settings=auth_settings,
|
|
318
|
+
async_req=params.get('async_req'),
|
|
319
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
320
|
+
_preload_content=params.get('_preload_content', True),
|
|
321
|
+
_request_timeout=params.get('_request_timeout'),
|
|
322
|
+
collection_formats=collection_formats)
|
|
323
|
+
|
|
324
|
+
def read_idps_source(self, id, **kwargs): # noqa: E501
|
|
325
|
+
"""Read an IdPs source # noqa: E501
|
|
326
|
+
|
|
327
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
328
|
+
asynchronous HTTP request, please pass async_req=True
|
|
329
|
+
>>> thread = api.read_idps_source(id, async_req=True)
|
|
330
|
+
>>> result = thread.get()
|
|
331
|
+
|
|
332
|
+
:param async_req bool
|
|
333
|
+
:param int id: ID of the idps source (required)
|
|
334
|
+
:return: IdpSource
|
|
335
|
+
If the method is called asynchronously,
|
|
336
|
+
returns the request thread.
|
|
337
|
+
"""
|
|
338
|
+
kwargs['_return_http_data_only'] = True
|
|
339
|
+
if kwargs.get('async_req'):
|
|
340
|
+
return self.read_idps_source_with_http_info(id, **kwargs) # noqa: E501
|
|
341
|
+
else:
|
|
342
|
+
(data) = self.read_idps_source_with_http_info(id, **kwargs) # noqa: E501
|
|
343
|
+
return data
|
|
344
|
+
|
|
345
|
+
def read_idps_source_with_http_info(self, id, **kwargs): # noqa: E501
|
|
346
|
+
"""Read an IdPs source # noqa: E501
|
|
347
|
+
|
|
348
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
349
|
+
asynchronous HTTP request, please pass async_req=True
|
|
350
|
+
>>> thread = api.read_idps_source_with_http_info(id, async_req=True)
|
|
351
|
+
>>> result = thread.get()
|
|
352
|
+
|
|
353
|
+
:param async_req bool
|
|
354
|
+
:param int id: ID of the idps source (required)
|
|
355
|
+
:return: IdpSource
|
|
356
|
+
If the method is called asynchronously,
|
|
357
|
+
returns the request thread.
|
|
358
|
+
"""
|
|
359
|
+
|
|
360
|
+
all_params = ['id'] # noqa: E501
|
|
361
|
+
all_params.append('async_req')
|
|
362
|
+
all_params.append('_return_http_data_only')
|
|
363
|
+
all_params.append('_preload_content')
|
|
364
|
+
all_params.append('_request_timeout')
|
|
365
|
+
|
|
366
|
+
params = locals()
|
|
367
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
368
|
+
if key not in all_params:
|
|
369
|
+
raise TypeError(
|
|
370
|
+
"Got an unexpected keyword argument '%s'"
|
|
371
|
+
" to method read_idps_source" % key
|
|
372
|
+
)
|
|
373
|
+
params[key] = val
|
|
374
|
+
del params['kwargs']
|
|
375
|
+
# verify the required parameter 'id' is set
|
|
376
|
+
if ('id' not in params or
|
|
377
|
+
params['id'] is None):
|
|
378
|
+
raise ValueError("Missing the required parameter `id` when calling `read_idps_source`") # noqa: E501
|
|
379
|
+
|
|
380
|
+
collection_formats = {}
|
|
381
|
+
|
|
382
|
+
path_params = {}
|
|
383
|
+
if 'id' in params:
|
|
384
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
385
|
+
|
|
386
|
+
query_params = []
|
|
387
|
+
|
|
388
|
+
header_params = {}
|
|
389
|
+
|
|
390
|
+
form_params = []
|
|
391
|
+
local_var_files = {}
|
|
392
|
+
|
|
393
|
+
body_params = None
|
|
394
|
+
# HTTP header `Accept`
|
|
395
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
396
|
+
['application/json']) # noqa: E501
|
|
397
|
+
|
|
398
|
+
# Authentication setting
|
|
399
|
+
auth_settings = ['token'] # noqa: E501
|
|
400
|
+
|
|
401
|
+
return self.api_client.call_api(
|
|
402
|
+
'/idps_sources/{id}', 'GET',
|
|
403
|
+
path_params,
|
|
404
|
+
query_params,
|
|
405
|
+
header_params,
|
|
406
|
+
body=body_params,
|
|
407
|
+
post_params=form_params,
|
|
408
|
+
files=local_var_files,
|
|
409
|
+
response_type='IdpSource', # noqa: E501
|
|
410
|
+
auth_settings=auth_settings,
|
|
411
|
+
async_req=params.get('async_req'),
|
|
412
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
413
|
+
_preload_content=params.get('_preload_content', True),
|
|
414
|
+
_request_timeout=params.get('_request_timeout'),
|
|
415
|
+
collection_formats=collection_formats)
|
|
416
|
+
|
|
417
|
+
def read_idps_sources(self, **kwargs): # noqa: E501
|
|
418
|
+
"""Read all IDPs sources # noqa: E501
|
|
419
|
+
|
|
420
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
421
|
+
asynchronous HTTP request, please pass async_req=True
|
|
422
|
+
>>> thread = api.read_idps_sources(async_req=True)
|
|
423
|
+
>>> result = thread.get()
|
|
424
|
+
|
|
425
|
+
:param async_req bool
|
|
426
|
+
:return: list[IdpSource]
|
|
427
|
+
If the method is called asynchronously,
|
|
428
|
+
returns the request thread.
|
|
429
|
+
"""
|
|
430
|
+
kwargs['_return_http_data_only'] = True
|
|
431
|
+
if kwargs.get('async_req'):
|
|
432
|
+
return self.read_idps_sources_with_http_info(**kwargs) # noqa: E501
|
|
433
|
+
else:
|
|
434
|
+
(data) = self.read_idps_sources_with_http_info(**kwargs) # noqa: E501
|
|
435
|
+
return data
|
|
436
|
+
|
|
437
|
+
def read_idps_sources_with_http_info(self, **kwargs): # noqa: E501
|
|
438
|
+
"""Read all IDPs sources # noqa: E501
|
|
439
|
+
|
|
440
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
441
|
+
asynchronous HTTP request, please pass async_req=True
|
|
442
|
+
>>> thread = api.read_idps_sources_with_http_info(async_req=True)
|
|
443
|
+
>>> result = thread.get()
|
|
444
|
+
|
|
445
|
+
:param async_req bool
|
|
446
|
+
:return: list[IdpSource]
|
|
447
|
+
If the method is called asynchronously,
|
|
448
|
+
returns the request thread.
|
|
449
|
+
"""
|
|
450
|
+
|
|
451
|
+
all_params = [] # noqa: E501
|
|
452
|
+
all_params.append('async_req')
|
|
453
|
+
all_params.append('_return_http_data_only')
|
|
454
|
+
all_params.append('_preload_content')
|
|
455
|
+
all_params.append('_request_timeout')
|
|
456
|
+
|
|
457
|
+
params = locals()
|
|
458
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
459
|
+
if key not in all_params:
|
|
460
|
+
raise TypeError(
|
|
461
|
+
"Got an unexpected keyword argument '%s'"
|
|
462
|
+
" to method read_idps_sources" % key
|
|
463
|
+
)
|
|
464
|
+
params[key] = val
|
|
465
|
+
del params['kwargs']
|
|
466
|
+
|
|
467
|
+
collection_formats = {}
|
|
468
|
+
|
|
469
|
+
path_params = {}
|
|
470
|
+
|
|
471
|
+
query_params = []
|
|
472
|
+
|
|
473
|
+
header_params = {}
|
|
474
|
+
|
|
475
|
+
form_params = []
|
|
476
|
+
local_var_files = {}
|
|
477
|
+
|
|
478
|
+
body_params = None
|
|
479
|
+
# HTTP header `Accept`
|
|
480
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
481
|
+
['application/json']) # noqa: E501
|
|
482
|
+
|
|
483
|
+
# Authentication setting
|
|
484
|
+
auth_settings = ['token'] # noqa: E501
|
|
485
|
+
|
|
486
|
+
return self.api_client.call_api(
|
|
487
|
+
'/idps_sources', 'GET',
|
|
488
|
+
path_params,
|
|
489
|
+
query_params,
|
|
490
|
+
header_params,
|
|
491
|
+
body=body_params,
|
|
492
|
+
post_params=form_params,
|
|
493
|
+
files=local_var_files,
|
|
494
|
+
response_type='list[IdpSource]', # noqa: E501
|
|
495
|
+
auth_settings=auth_settings,
|
|
496
|
+
async_req=params.get('async_req'),
|
|
497
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
498
|
+
_preload_content=params.get('_preload_content', True),
|
|
499
|
+
_request_timeout=params.get('_request_timeout'),
|
|
500
|
+
collection_formats=collection_formats)
|
|
@@ -425,16 +425,17 @@ class StorageUnitsApi(object):
|
|
|
425
425
|
collection_formats=collection_formats)
|
|
426
426
|
|
|
427
427
|
def read_storage_units(self, **kwargs): # noqa: E501
|
|
428
|
-
"""Read all containers
|
|
428
|
+
"""Read all containers, or the storage unit hierarchy when `?hierarchy=true`. # noqa: E501
|
|
429
429
|
|
|
430
|
-
|
|
430
|
+
Without parameters, returns the full list of containers (assignments of experiments or resources to storage locations) that you have access to. With `?hierarchy=true`, returns a flat list of all storage units (freezers, boxes, positions, etc.) with their hierarchy metadata (`id`, `name`, `parent_id`, `full_path`, `level_depth`, `children_count`). This allows clients to discover, traverse, or display the storage unit tree. # noqa: E501
|
|
431
431
|
This method makes a synchronous HTTP request by default. To make an
|
|
432
432
|
asynchronous HTTP request, please pass async_req=True
|
|
433
433
|
>>> thread = api.read_storage_units(async_req=True)
|
|
434
434
|
>>> result = thread.get()
|
|
435
435
|
|
|
436
436
|
:param async_req bool
|
|
437
|
-
:
|
|
437
|
+
:param bool hierarchy: When true, returns a flat list of all storage units in the hierarchy (id, name, parent_id, full_path, level_depth, children_count) instead of the default container assignment list.
|
|
438
|
+
:return: InlineResponse200
|
|
438
439
|
If the method is called asynchronously,
|
|
439
440
|
returns the request thread.
|
|
440
441
|
"""
|
|
@@ -446,21 +447,22 @@ class StorageUnitsApi(object):
|
|
|
446
447
|
return data
|
|
447
448
|
|
|
448
449
|
def read_storage_units_with_http_info(self, **kwargs): # noqa: E501
|
|
449
|
-
"""Read all containers
|
|
450
|
+
"""Read all containers, or the storage unit hierarchy when `?hierarchy=true`. # noqa: E501
|
|
450
451
|
|
|
451
|
-
|
|
452
|
+
Without parameters, returns the full list of containers (assignments of experiments or resources to storage locations) that you have access to. With `?hierarchy=true`, returns a flat list of all storage units (freezers, boxes, positions, etc.) with their hierarchy metadata (`id`, `name`, `parent_id`, `full_path`, `level_depth`, `children_count`). This allows clients to discover, traverse, or display the storage unit tree. # noqa: E501
|
|
452
453
|
This method makes a synchronous HTTP request by default. To make an
|
|
453
454
|
asynchronous HTTP request, please pass async_req=True
|
|
454
455
|
>>> thread = api.read_storage_units_with_http_info(async_req=True)
|
|
455
456
|
>>> result = thread.get()
|
|
456
457
|
|
|
457
458
|
:param async_req bool
|
|
458
|
-
:
|
|
459
|
+
:param bool hierarchy: When true, returns a flat list of all storage units in the hierarchy (id, name, parent_id, full_path, level_depth, children_count) instead of the default container assignment list.
|
|
460
|
+
:return: InlineResponse200
|
|
459
461
|
If the method is called asynchronously,
|
|
460
462
|
returns the request thread.
|
|
461
463
|
"""
|
|
462
464
|
|
|
463
|
-
all_params = [] # noqa: E501
|
|
465
|
+
all_params = ['hierarchy'] # noqa: E501
|
|
464
466
|
all_params.append('async_req')
|
|
465
467
|
all_params.append('_return_http_data_only')
|
|
466
468
|
all_params.append('_preload_content')
|
|
@@ -481,6 +483,8 @@ class StorageUnitsApi(object):
|
|
|
481
483
|
path_params = {}
|
|
482
484
|
|
|
483
485
|
query_params = []
|
|
486
|
+
if 'hierarchy' in params:
|
|
487
|
+
query_params.append(('hierarchy', params['hierarchy'])) # noqa: E501
|
|
484
488
|
|
|
485
489
|
header_params = {}
|
|
486
490
|
|
|
@@ -503,7 +507,7 @@ class StorageUnitsApi(object):
|
|
|
503
507
|
body=body_params,
|
|
504
508
|
post_params=form_params,
|
|
505
509
|
files=local_var_files,
|
|
506
|
-
response_type='
|
|
510
|
+
response_type='InlineResponse200', # noqa: E501
|
|
507
511
|
auth_settings=auth_settings,
|
|
508
512
|
async_req=params.get('async_req'),
|
|
509
513
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -72,7 +72,7 @@ class ApiClient(object):
|
|
|
72
72
|
self.default_headers[header_name] = header_value
|
|
73
73
|
self.cookie = cookie
|
|
74
74
|
# Set default User-Agent.
|
|
75
|
-
self.user_agent = 'Swagger-Codegen/5.
|
|
75
|
+
self.user_agent = 'Swagger-Codegen/5.5.0/python'
|
|
76
76
|
|
|
77
77
|
def __del__(self):
|
|
78
78
|
self.pool.close()
|
|
@@ -250,5 +250,5 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
|
|
|
250
250
|
"OS: {env}\n"\
|
|
251
251
|
"Python Version: {pyversion}\n"\
|
|
252
252
|
"Version of the API: 2.0.0\n"\
|
|
253
|
-
"SDK Package Version: 5.
|
|
253
|
+
"SDK Package Version: 5.5.0".\
|
|
254
254
|
format(env=sys.platform, pyversion=sys.version)
|
|
@@ -70,8 +70,11 @@ from elabapi_python.models.id_uploads_body import IdUploadsBody
|
|
|
70
70
|
from elabapi_python.models.idp import Idp
|
|
71
71
|
from elabapi_python.models.idp_cert import IdpCert
|
|
72
72
|
from elabapi_python.models.idp_endpoint import IdpEndpoint
|
|
73
|
+
from elabapi_python.models.idp_source import IdpSource
|
|
73
74
|
from elabapi_python.models.idps_body import IdpsBody
|
|
74
75
|
from elabapi_python.models.idps_id_body import IdpsIdBody
|
|
76
|
+
from elabapi_python.models.idps_sources_body import IdpsSourcesBody
|
|
77
|
+
from elabapi_python.models.idps_sources_id_body import IdpsSourcesIdBody
|
|
75
78
|
from elabapi_python.models.import_body import ImportBody
|
|
76
79
|
from elabapi_python.models.inline_response200 import InlineResponse200
|
|
77
80
|
from elabapi_python.models.inline_response2001 import InlineResponse2001
|