elabapi-python 0.4.0__tar.gz → 0.4.1__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-0.4.0 → elabapi-python-0.4.1}/PKG-INFO +1 -1
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/README.md +5 -4
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/__init__.py +2 -2
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/events_api.py +98 -5
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api_client.py +1 -1
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/configuration.py +1 -1
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/__init__.py +2 -2
- elabapi-python-0.4.1/elabapi_python/models/event_id_body.py +84 -0
- elabapi-python-0.4.0/elabapi_python/models/eventsid_delta.py → elabapi-python-0.4.1/elabapi_python/models/eventid_delta.py +20 -20
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python.egg-info/PKG-INFO +1 -1
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python.egg-info/SOURCES.txt +4 -4
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/setup.py +1 -1
- elabapi-python-0.4.1/test/test_event_id_body.py +39 -0
- elabapi-python-0.4.1/test/test_eventid_delta.py +39 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_events_api.py +7 -0
- elabapi-python-0.4.0/elabapi_python/models/events_id_body1.py +0 -84
- elabapi-python-0.4.0/test/test_events_id_body1.py +0 -39
- elabapi-python-0.4.0/test/test_eventsid_delta.py +0 -39
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/__init__.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/api_keys_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/comments_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/config_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/experiments_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/experiments_categories_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/experiments_status_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/experiments_templates_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/favorite_tags_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/idps_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/info_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/items_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/items_types_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/links_to_experiments_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/links_to_items_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/notifications_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/resources_status_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/revisions_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/steps_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/tags_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/team_tags_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/teamgroups_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/teams_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/todolist_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/unfinished_steps_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/uploads_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/api/users_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/apikey.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/apikeys_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/comment.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/config.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/entity.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/event.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/events_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/experiment.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/experiment_template.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/experiments_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/experiments_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/experiments_links_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/experiments_templates_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/experiments_templates_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/favtags_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id1.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id2.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id3.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id_comments_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id_experiments_categories_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id_experiments_status_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id_items_status_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id_revisions_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id_steps_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id_tags_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id_teamgroups_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/id_uploads_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/idp.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/idps_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/idps_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/inline_response200.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/inline_response2001.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/inline_response2002.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/inline_response2003.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/inline_response2004.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/inline_response2005.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/inline_response2006.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/inline_response2007.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/item.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/items_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/items_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/items_links_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/items_type.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/items_types_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/link.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/notification.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/revision.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/revisions_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/statuslike.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/step.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/steps_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/tag.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/tags_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/team.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/team_tags_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/team_tags_body1.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/team_tags_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/teamgroup.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/teamgroup_users.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/teamgroups_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/teams_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/todoitem.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/todolist_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/todolist_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/unfinished_step.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/unfinished_steps.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/upload.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/uploads_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/uploads_subid_body1.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/users.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/users_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/users_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/models/users_teams.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python/rest.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python.egg-info/dependency_links.txt +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python.egg-info/requires.txt +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/elabapi_python.egg-info/top_level.txt +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/setup.cfg +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/__init__.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_api_keys_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_apikey.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_apikeys_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_comment.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_comments_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_config.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_config_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_entity.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_event.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_events_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_experiment.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_experiment_template.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_experiments_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_experiments_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_experiments_categories_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_experiments_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_experiments_links_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_experiments_status_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_experiments_templates_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_experiments_templates_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_experiments_templates_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_favorite_tags_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_favtags_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id1.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id2.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id3.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id_comments_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id_experiments_categories_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id_experiments_status_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id_items_status_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id_revisions_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id_steps_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id_tags_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id_teamgroups_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_id_uploads_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_idp.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_idps_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_idps_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_idps_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_info_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_inline_response200.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_inline_response2001.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_inline_response2002.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_inline_response2003.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_inline_response2004.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_inline_response2005.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_inline_response2006.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_inline_response2007.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_item.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_items_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_items_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_items_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_items_links_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_items_type.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_items_types_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_items_types_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_link.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_links_to_experiments_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_links_to_items_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_notification.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_notifications_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_resources_status_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_revision.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_revisions_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_revisions_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_statuslike.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_step.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_steps_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_steps_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_tag.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_tags_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_tags_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_team.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_team_tags_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_team_tags_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_team_tags_body1.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_team_tags_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_teamgroup.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_teamgroup_users.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_teamgroups_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_teamgroups_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_teams_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_teams_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_todoitem.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_todolist_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_todolist_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_todolist_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_unfinished_step.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_unfinished_steps.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_unfinished_steps_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_upload.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_uploads_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_uploads_subid_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_uploads_subid_body1.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_users.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_users_api.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_users_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_users_id_body.py +0 -0
- {elabapi-python-0.4.0 → elabapi-python-0.4.1}/test/test_users_teams.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: 0.4.
|
|
7
|
+
- Package version: 0.4.1
|
|
8
8
|
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
|
|
9
9
|
|
|
10
10
|
## Requirements.
|
|
@@ -118,8 +118,9 @@ Class | Method | HTTP request | Description
|
|
|
118
118
|
*ConfigApi* | [**get_config**](docs/ConfigApi.md#get_config) | **GET** /config | Read the config
|
|
119
119
|
*ConfigApi* | [**patch_config**](docs/ConfigApi.md#patch_config) | **PATCH** /config | Modify the config
|
|
120
120
|
*EventsApi* | [**delete_event**](docs/EventsApi.md#delete_event) | **DELETE** /event/{id} | Delete a booking slot.
|
|
121
|
-
*EventsApi* | [**patch_event**](docs/EventsApi.md#patch_event) | **PATCH** /
|
|
121
|
+
*EventsApi* | [**patch_event**](docs/EventsApi.md#patch_event) | **PATCH** /event/{id} | Modify a booking slot. Warning: only one value (target) can be edited at a time.
|
|
122
122
|
*EventsApi* | [**post_events**](docs/EventsApi.md#post_events) | **POST** /events/{id} | Create an event for the item specified as id.
|
|
123
|
+
*EventsApi* | [**read_event**](docs/EventsApi.md#read_event) | **GET** /event/{id} | Read a booking slot.
|
|
123
124
|
*EventsApi* | [**read_events**](docs/EventsApi.md#read_events) | **GET** /events | Read all events in the team.
|
|
124
125
|
*ExperimentsApi* | [**delete_experiment**](docs/ExperimentsApi.md#delete_experiment) | **DELETE** /experiments/{id} | Delete an experiment.
|
|
125
126
|
*ExperimentsApi* | [**get_experiment**](docs/ExperimentsApi.md#get_experiment) | **GET** /experiments/{id} | Read an experiment
|
|
@@ -228,9 +229,9 @@ Class | Method | HTTP request | Description
|
|
|
228
229
|
- [Config](docs/Config.md)
|
|
229
230
|
- [Entity](docs/Entity.md)
|
|
230
231
|
- [Event](docs/Event.md)
|
|
232
|
+
- [EventIdBody](docs/EventIdBody.md)
|
|
233
|
+
- [EventidDelta](docs/EventidDelta.md)
|
|
231
234
|
- [EventsIdBody](docs/EventsIdBody.md)
|
|
232
|
-
- [EventsIdBody1](docs/EventsIdBody1.md)
|
|
233
|
-
- [EventsidDelta](docs/EventsidDelta.md)
|
|
234
235
|
- [Experiment](docs/Experiment.md)
|
|
235
236
|
- [ExperimentTemplate](docs/ExperimentTemplate.md)
|
|
236
237
|
- [ExperimentsBody](docs/ExperimentsBody.md)
|
|
@@ -52,9 +52,9 @@ from elabapi_python.models.comment import Comment
|
|
|
52
52
|
from elabapi_python.models.config import Config
|
|
53
53
|
from elabapi_python.models.entity import Entity
|
|
54
54
|
from elabapi_python.models.event import Event
|
|
55
|
+
from elabapi_python.models.event_id_body import EventIdBody
|
|
56
|
+
from elabapi_python.models.eventid_delta import EventidDelta
|
|
55
57
|
from elabapi_python.models.events_id_body import EventsIdBody
|
|
56
|
-
from elabapi_python.models.events_id_body1 import EventsIdBody1
|
|
57
|
-
from elabapi_python.models.eventsid_delta import EventsidDelta
|
|
58
58
|
from elabapi_python.models.experiment import Experiment
|
|
59
59
|
from elabapi_python.models.experiment_template import ExperimentTemplate
|
|
60
60
|
from elabapi_python.models.experiments_body import ExperimentsBody
|
|
@@ -134,8 +134,8 @@ class EventsApi(object):
|
|
|
134
134
|
>>> result = thread.get()
|
|
135
135
|
|
|
136
136
|
:param async_req bool
|
|
137
|
-
:param int id: ID of the
|
|
138
|
-
:param
|
|
137
|
+
:param int id: ID of the event to modify. (required)
|
|
138
|
+
:param EventIdBody body: Parameters for modifying an event.
|
|
139
139
|
:return: Event
|
|
140
140
|
If the method is called asynchronously,
|
|
141
141
|
returns the request thread.
|
|
@@ -156,8 +156,8 @@ class EventsApi(object):
|
|
|
156
156
|
>>> result = thread.get()
|
|
157
157
|
|
|
158
158
|
:param async_req bool
|
|
159
|
-
:param int id: ID of the
|
|
160
|
-
:param
|
|
159
|
+
:param int id: ID of the event to modify. (required)
|
|
160
|
+
:param EventIdBody body: Parameters for modifying an event.
|
|
161
161
|
:return: Event
|
|
162
162
|
If the method is called asynchronously,
|
|
163
163
|
returns the request thread.
|
|
@@ -211,7 +211,7 @@ class EventsApi(object):
|
|
|
211
211
|
auth_settings = ['token'] # noqa: E501
|
|
212
212
|
|
|
213
213
|
return self.api_client.call_api(
|
|
214
|
-
'/
|
|
214
|
+
'/event/{id}', 'PATCH',
|
|
215
215
|
path_params,
|
|
216
216
|
query_params,
|
|
217
217
|
header_params,
|
|
@@ -323,6 +323,99 @@ class EventsApi(object):
|
|
|
323
323
|
_request_timeout=params.get('_request_timeout'),
|
|
324
324
|
collection_formats=collection_formats)
|
|
325
325
|
|
|
326
|
+
def read_event(self, id, **kwargs): # noqa: E501
|
|
327
|
+
"""Read a booking slot. # noqa: E501
|
|
328
|
+
|
|
329
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
330
|
+
asynchronous HTTP request, please pass async_req=True
|
|
331
|
+
>>> thread = api.read_event(id, async_req=True)
|
|
332
|
+
>>> result = thread.get()
|
|
333
|
+
|
|
334
|
+
:param async_req bool
|
|
335
|
+
:param int id: ID of the event to modify. (required)
|
|
336
|
+
:return: Event
|
|
337
|
+
If the method is called asynchronously,
|
|
338
|
+
returns the request thread.
|
|
339
|
+
"""
|
|
340
|
+
kwargs['_return_http_data_only'] = True
|
|
341
|
+
if kwargs.get('async_req'):
|
|
342
|
+
return self.read_event_with_http_info(id, **kwargs) # noqa: E501
|
|
343
|
+
else:
|
|
344
|
+
(data) = self.read_event_with_http_info(id, **kwargs) # noqa: E501
|
|
345
|
+
return data
|
|
346
|
+
|
|
347
|
+
def read_event_with_http_info(self, id, **kwargs): # noqa: E501
|
|
348
|
+
"""Read a booking slot. # noqa: E501
|
|
349
|
+
|
|
350
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
351
|
+
asynchronous HTTP request, please pass async_req=True
|
|
352
|
+
>>> thread = api.read_event_with_http_info(id, async_req=True)
|
|
353
|
+
>>> result = thread.get()
|
|
354
|
+
|
|
355
|
+
:param async_req bool
|
|
356
|
+
:param int id: ID of the event to modify. (required)
|
|
357
|
+
:return: Event
|
|
358
|
+
If the method is called asynchronously,
|
|
359
|
+
returns the request thread.
|
|
360
|
+
"""
|
|
361
|
+
|
|
362
|
+
all_params = ['id'] # noqa: E501
|
|
363
|
+
all_params.append('async_req')
|
|
364
|
+
all_params.append('_return_http_data_only')
|
|
365
|
+
all_params.append('_preload_content')
|
|
366
|
+
all_params.append('_request_timeout')
|
|
367
|
+
|
|
368
|
+
params = locals()
|
|
369
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
370
|
+
if key not in all_params:
|
|
371
|
+
raise TypeError(
|
|
372
|
+
"Got an unexpected keyword argument '%s'"
|
|
373
|
+
" to method read_event" % key
|
|
374
|
+
)
|
|
375
|
+
params[key] = val
|
|
376
|
+
del params['kwargs']
|
|
377
|
+
# verify the required parameter 'id' is set
|
|
378
|
+
if ('id' not in params or
|
|
379
|
+
params['id'] is None):
|
|
380
|
+
raise ValueError("Missing the required parameter `id` when calling `read_event`") # noqa: E501
|
|
381
|
+
|
|
382
|
+
collection_formats = {}
|
|
383
|
+
|
|
384
|
+
path_params = {}
|
|
385
|
+
if 'id' in params:
|
|
386
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
387
|
+
|
|
388
|
+
query_params = []
|
|
389
|
+
|
|
390
|
+
header_params = {}
|
|
391
|
+
|
|
392
|
+
form_params = []
|
|
393
|
+
local_var_files = {}
|
|
394
|
+
|
|
395
|
+
body_params = None
|
|
396
|
+
# HTTP header `Accept`
|
|
397
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
398
|
+
['application/json']) # noqa: E501
|
|
399
|
+
|
|
400
|
+
# Authentication setting
|
|
401
|
+
auth_settings = ['token'] # noqa: E501
|
|
402
|
+
|
|
403
|
+
return self.api_client.call_api(
|
|
404
|
+
'/event/{id}', 'GET',
|
|
405
|
+
path_params,
|
|
406
|
+
query_params,
|
|
407
|
+
header_params,
|
|
408
|
+
body=body_params,
|
|
409
|
+
post_params=form_params,
|
|
410
|
+
files=local_var_files,
|
|
411
|
+
response_type='Event', # noqa: E501
|
|
412
|
+
auth_settings=auth_settings,
|
|
413
|
+
async_req=params.get('async_req'),
|
|
414
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
415
|
+
_preload_content=params.get('_preload_content', True),
|
|
416
|
+
_request_timeout=params.get('_request_timeout'),
|
|
417
|
+
collection_formats=collection_formats)
|
|
418
|
+
|
|
326
419
|
def read_events(self, **kwargs): # noqa: E501
|
|
327
420
|
"""Read all events in the team. # noqa: E501
|
|
328
421
|
|
|
@@ -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/0.4.
|
|
75
|
+
self.user_agent = 'Swagger-Codegen/0.4.1/python'
|
|
76
76
|
|
|
77
77
|
def __del__(self):
|
|
78
78
|
self.pool.close()
|
|
@@ -247,5 +247,5 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
|
|
|
247
247
|
"OS: {env}\n"\
|
|
248
248
|
"Python Version: {pyversion}\n"\
|
|
249
249
|
"Version of the API: 2.0.0\n"\
|
|
250
|
-
"SDK Package Version: 0.4.
|
|
250
|
+
"SDK Package Version: 0.4.1".\
|
|
251
251
|
format(env=sys.platform, pyversion=sys.version)
|
|
@@ -20,9 +20,9 @@ from elabapi_python.models.comment import Comment
|
|
|
20
20
|
from elabapi_python.models.config import Config
|
|
21
21
|
from elabapi_python.models.entity import Entity
|
|
22
22
|
from elabapi_python.models.event import Event
|
|
23
|
+
from elabapi_python.models.event_id_body import EventIdBody
|
|
24
|
+
from elabapi_python.models.eventid_delta import EventidDelta
|
|
23
25
|
from elabapi_python.models.events_id_body import EventsIdBody
|
|
24
|
-
from elabapi_python.models.events_id_body1 import EventsIdBody1
|
|
25
|
-
from elabapi_python.models.eventsid_delta import EventsidDelta
|
|
26
26
|
from elabapi_python.models.experiment import Experiment
|
|
27
27
|
from elabapi_python.models.experiment_template import ExperimentTemplate
|
|
28
28
|
from elabapi_python.models.experiments_body import ExperimentsBody
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
import pprint
|
|
14
|
+
import re # noqa: F401
|
|
15
|
+
|
|
16
|
+
import six
|
|
17
|
+
|
|
18
|
+
class EventIdBody(object):
|
|
19
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
|
|
21
|
+
Do not edit the class manually.
|
|
22
|
+
"""
|
|
23
|
+
"""
|
|
24
|
+
Attributes:
|
|
25
|
+
swagger_types (dict): The key is attribute name
|
|
26
|
+
and the value is attribute type.
|
|
27
|
+
attribute_map (dict): The key is attribute name
|
|
28
|
+
and the value is json key in definition.
|
|
29
|
+
"""
|
|
30
|
+
swagger_types = {
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
attribute_map = {
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
def __init__(self): # noqa: E501
|
|
37
|
+
"""EventIdBody - a model defined in Swagger""" # noqa: E501
|
|
38
|
+
self.discriminator = None
|
|
39
|
+
|
|
40
|
+
def to_dict(self):
|
|
41
|
+
"""Returns the model properties as a dict"""
|
|
42
|
+
result = {}
|
|
43
|
+
|
|
44
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
45
|
+
value = getattr(self, attr)
|
|
46
|
+
if isinstance(value, list):
|
|
47
|
+
result[attr] = list(map(
|
|
48
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
49
|
+
value
|
|
50
|
+
))
|
|
51
|
+
elif hasattr(value, "to_dict"):
|
|
52
|
+
result[attr] = value.to_dict()
|
|
53
|
+
elif isinstance(value, dict):
|
|
54
|
+
result[attr] = dict(map(
|
|
55
|
+
lambda item: (item[0], item[1].to_dict())
|
|
56
|
+
if hasattr(item[1], "to_dict") else item,
|
|
57
|
+
value.items()
|
|
58
|
+
))
|
|
59
|
+
else:
|
|
60
|
+
result[attr] = value
|
|
61
|
+
if issubclass(EventIdBody, dict):
|
|
62
|
+
for key, value in self.items():
|
|
63
|
+
result[key] = value
|
|
64
|
+
|
|
65
|
+
return result
|
|
66
|
+
|
|
67
|
+
def to_str(self):
|
|
68
|
+
"""Returns the string representation of the model"""
|
|
69
|
+
return pprint.pformat(self.to_dict())
|
|
70
|
+
|
|
71
|
+
def __repr__(self):
|
|
72
|
+
"""For `print` and `pprint`"""
|
|
73
|
+
return self.to_str()
|
|
74
|
+
|
|
75
|
+
def __eq__(self, other):
|
|
76
|
+
"""Returns true if both objects are equal"""
|
|
77
|
+
if not isinstance(other, EventIdBody):
|
|
78
|
+
return False
|
|
79
|
+
|
|
80
|
+
return self.__dict__ == other.__dict__
|
|
81
|
+
|
|
82
|
+
def __ne__(self, other):
|
|
83
|
+
"""Returns true if both objects are not equal"""
|
|
84
|
+
return not self == other
|
|
@@ -15,7 +15,7 @@ import re # noqa: F401
|
|
|
15
15
|
|
|
16
16
|
import six
|
|
17
17
|
|
|
18
|
-
class
|
|
18
|
+
class EventidDelta(object):
|
|
19
19
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
20
|
|
|
21
21
|
Do not edit the class manually.
|
|
@@ -42,7 +42,7 @@ class EventsidDelta(object):
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
def __init__(self, days=None, milliseconds=None, months=None, years=None): # noqa: E501
|
|
45
|
-
"""
|
|
45
|
+
"""EventidDelta - a model defined in Swagger""" # noqa: E501
|
|
46
46
|
self._days = None
|
|
47
47
|
self._milliseconds = None
|
|
48
48
|
self._months = None
|
|
@@ -59,20 +59,20 @@ class EventsidDelta(object):
|
|
|
59
59
|
|
|
60
60
|
@property
|
|
61
61
|
def days(self):
|
|
62
|
-
"""Gets the days of this
|
|
62
|
+
"""Gets the days of this EventidDelta. # noqa: E501
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
:return: The days of this
|
|
65
|
+
:return: The days of this EventidDelta. # noqa: E501
|
|
66
66
|
:rtype: int
|
|
67
67
|
"""
|
|
68
68
|
return self._days
|
|
69
69
|
|
|
70
70
|
@days.setter
|
|
71
71
|
def days(self, days):
|
|
72
|
-
"""Sets the days of this
|
|
72
|
+
"""Sets the days of this EventidDelta.
|
|
73
73
|
|
|
74
74
|
|
|
75
|
-
:param days: The days of this
|
|
75
|
+
:param days: The days of this EventidDelta. # noqa: E501
|
|
76
76
|
:type: int
|
|
77
77
|
"""
|
|
78
78
|
|
|
@@ -80,20 +80,20 @@ class EventsidDelta(object):
|
|
|
80
80
|
|
|
81
81
|
@property
|
|
82
82
|
def milliseconds(self):
|
|
83
|
-
"""Gets the milliseconds of this
|
|
83
|
+
"""Gets the milliseconds of this EventidDelta. # noqa: E501
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
:return: The milliseconds of this
|
|
86
|
+
:return: The milliseconds of this EventidDelta. # noqa: E501
|
|
87
87
|
:rtype: int
|
|
88
88
|
"""
|
|
89
89
|
return self._milliseconds
|
|
90
90
|
|
|
91
91
|
@milliseconds.setter
|
|
92
92
|
def milliseconds(self, milliseconds):
|
|
93
|
-
"""Sets the milliseconds of this
|
|
93
|
+
"""Sets the milliseconds of this EventidDelta.
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
:param milliseconds: The milliseconds of this
|
|
96
|
+
:param milliseconds: The milliseconds of this EventidDelta. # noqa: E501
|
|
97
97
|
:type: int
|
|
98
98
|
"""
|
|
99
99
|
|
|
@@ -101,20 +101,20 @@ class EventsidDelta(object):
|
|
|
101
101
|
|
|
102
102
|
@property
|
|
103
103
|
def months(self):
|
|
104
|
-
"""Gets the months of this
|
|
104
|
+
"""Gets the months of this EventidDelta. # noqa: E501
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
:return: The months of this
|
|
107
|
+
:return: The months of this EventidDelta. # noqa: E501
|
|
108
108
|
:rtype: int
|
|
109
109
|
"""
|
|
110
110
|
return self._months
|
|
111
111
|
|
|
112
112
|
@months.setter
|
|
113
113
|
def months(self, months):
|
|
114
|
-
"""Sets the months of this
|
|
114
|
+
"""Sets the months of this EventidDelta.
|
|
115
115
|
|
|
116
116
|
|
|
117
|
-
:param months: The months of this
|
|
117
|
+
:param months: The months of this EventidDelta. # noqa: E501
|
|
118
118
|
:type: int
|
|
119
119
|
"""
|
|
120
120
|
|
|
@@ -122,20 +122,20 @@ class EventsidDelta(object):
|
|
|
122
122
|
|
|
123
123
|
@property
|
|
124
124
|
def years(self):
|
|
125
|
-
"""Gets the years of this
|
|
125
|
+
"""Gets the years of this EventidDelta. # noqa: E501
|
|
126
126
|
|
|
127
127
|
|
|
128
|
-
:return: The years of this
|
|
128
|
+
:return: The years of this EventidDelta. # noqa: E501
|
|
129
129
|
:rtype: int
|
|
130
130
|
"""
|
|
131
131
|
return self._years
|
|
132
132
|
|
|
133
133
|
@years.setter
|
|
134
134
|
def years(self, years):
|
|
135
|
-
"""Sets the years of this
|
|
135
|
+
"""Sets the years of this EventidDelta.
|
|
136
136
|
|
|
137
137
|
|
|
138
|
-
:param years: The years of this
|
|
138
|
+
:param years: The years of this EventidDelta. # noqa: E501
|
|
139
139
|
:type: int
|
|
140
140
|
"""
|
|
141
141
|
|
|
@@ -162,7 +162,7 @@ class EventsidDelta(object):
|
|
|
162
162
|
))
|
|
163
163
|
else:
|
|
164
164
|
result[attr] = value
|
|
165
|
-
if issubclass(
|
|
165
|
+
if issubclass(EventidDelta, dict):
|
|
166
166
|
for key, value in self.items():
|
|
167
167
|
result[key] = value
|
|
168
168
|
|
|
@@ -178,7 +178,7 @@ class EventsidDelta(object):
|
|
|
178
178
|
|
|
179
179
|
def __eq__(self, other):
|
|
180
180
|
"""Returns true if both objects are equal"""
|
|
181
|
-
if not isinstance(other,
|
|
181
|
+
if not isinstance(other, EventidDelta):
|
|
182
182
|
return False
|
|
183
183
|
|
|
184
184
|
return self.__dict__ == other.__dict__
|
|
@@ -44,9 +44,9 @@ elabapi_python/models/comment.py
|
|
|
44
44
|
elabapi_python/models/config.py
|
|
45
45
|
elabapi_python/models/entity.py
|
|
46
46
|
elabapi_python/models/event.py
|
|
47
|
+
elabapi_python/models/event_id_body.py
|
|
48
|
+
elabapi_python/models/eventid_delta.py
|
|
47
49
|
elabapi_python/models/events_id_body.py
|
|
48
|
-
elabapi_python/models/events_id_body1.py
|
|
49
|
-
elabapi_python/models/eventsid_delta.py
|
|
50
50
|
elabapi_python/models/experiment.py
|
|
51
51
|
elabapi_python/models/experiment_template.py
|
|
52
52
|
elabapi_python/models/experiments_body.py
|
|
@@ -124,10 +124,10 @@ test/test_config.py
|
|
|
124
124
|
test/test_config_api.py
|
|
125
125
|
test/test_entity.py
|
|
126
126
|
test/test_event.py
|
|
127
|
+
test/test_event_id_body.py
|
|
128
|
+
test/test_eventid_delta.py
|
|
127
129
|
test/test_events_api.py
|
|
128
130
|
test/test_events_id_body.py
|
|
129
|
-
test/test_events_id_body1.py
|
|
130
|
-
test/test_eventsid_delta.py
|
|
131
131
|
test/test_experiment.py
|
|
132
132
|
test/test_experiment_template.py
|
|
133
133
|
test/test_experiments_api.py
|
|
@@ -0,0 +1,39 @@
|
|
|
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 unittest
|
|
16
|
+
|
|
17
|
+
import elabapi_python
|
|
18
|
+
from elabapi_python.models.event_id_body import EventIdBody # noqa: E501
|
|
19
|
+
from elabapi_python.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestEventIdBody(unittest.TestCase):
|
|
23
|
+
"""EventIdBody unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testEventIdBody(self):
|
|
32
|
+
"""Test EventIdBody"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = elabapi_python.models.event_id_body.EventIdBody() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
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 unittest
|
|
16
|
+
|
|
17
|
+
import elabapi_python
|
|
18
|
+
from elabapi_python.models.eventid_delta import EventidDelta # noqa: E501
|
|
19
|
+
from elabapi_python.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestEventidDelta(unittest.TestCase):
|
|
23
|
+
"""EventidDelta unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testEventidDelta(self):
|
|
32
|
+
"""Test EventidDelta"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = elabapi_python.models.eventid_delta.EventidDelta() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -1,84 +0,0 @@
|
|
|
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
|
-
import pprint
|
|
14
|
-
import re # noqa: F401
|
|
15
|
-
|
|
16
|
-
import six
|
|
17
|
-
|
|
18
|
-
class EventsIdBody1(object):
|
|
19
|
-
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
-
|
|
21
|
-
Do not edit the class manually.
|
|
22
|
-
"""
|
|
23
|
-
"""
|
|
24
|
-
Attributes:
|
|
25
|
-
swagger_types (dict): The key is attribute name
|
|
26
|
-
and the value is attribute type.
|
|
27
|
-
attribute_map (dict): The key is attribute name
|
|
28
|
-
and the value is json key in definition.
|
|
29
|
-
"""
|
|
30
|
-
swagger_types = {
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
attribute_map = {
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
def __init__(self): # noqa: E501
|
|
37
|
-
"""EventsIdBody1 - a model defined in Swagger""" # noqa: E501
|
|
38
|
-
self.discriminator = None
|
|
39
|
-
|
|
40
|
-
def to_dict(self):
|
|
41
|
-
"""Returns the model properties as a dict"""
|
|
42
|
-
result = {}
|
|
43
|
-
|
|
44
|
-
for attr, _ in six.iteritems(self.swagger_types):
|
|
45
|
-
value = getattr(self, attr)
|
|
46
|
-
if isinstance(value, list):
|
|
47
|
-
result[attr] = list(map(
|
|
48
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
49
|
-
value
|
|
50
|
-
))
|
|
51
|
-
elif hasattr(value, "to_dict"):
|
|
52
|
-
result[attr] = value.to_dict()
|
|
53
|
-
elif isinstance(value, dict):
|
|
54
|
-
result[attr] = dict(map(
|
|
55
|
-
lambda item: (item[0], item[1].to_dict())
|
|
56
|
-
if hasattr(item[1], "to_dict") else item,
|
|
57
|
-
value.items()
|
|
58
|
-
))
|
|
59
|
-
else:
|
|
60
|
-
result[attr] = value
|
|
61
|
-
if issubclass(EventsIdBody1, dict):
|
|
62
|
-
for key, value in self.items():
|
|
63
|
-
result[key] = value
|
|
64
|
-
|
|
65
|
-
return result
|
|
66
|
-
|
|
67
|
-
def to_str(self):
|
|
68
|
-
"""Returns the string representation of the model"""
|
|
69
|
-
return pprint.pformat(self.to_dict())
|
|
70
|
-
|
|
71
|
-
def __repr__(self):
|
|
72
|
-
"""For `print` and `pprint`"""
|
|
73
|
-
return self.to_str()
|
|
74
|
-
|
|
75
|
-
def __eq__(self, other):
|
|
76
|
-
"""Returns true if both objects are equal"""
|
|
77
|
-
if not isinstance(other, EventsIdBody1):
|
|
78
|
-
return False
|
|
79
|
-
|
|
80
|
-
return self.__dict__ == other.__dict__
|
|
81
|
-
|
|
82
|
-
def __ne__(self, other):
|
|
83
|
-
"""Returns true if both objects are not equal"""
|
|
84
|
-
return not self == other
|