From 5df667bd2216032dda484d58458a365a5a5c7457 Mon Sep 17 00:00:00 2001 From: grololo06 Date: Tue, 26 Oct 2021 16:49:05 +0200 Subject: [PATCH] 2.5.14: propagate API freeze --- appli/search/common.py | 4 +- appli/utils.py | 4 +- to_back/ecotaxa_cli_py/__init__.py | 9 +- to_back/ecotaxa_cli_py/api/__init__.py | 2 +- .../ecotaxa_cli_py/api/acquisitions_api.py | 28 +- .../api/authentification_api.py | 12 +- to_back/ecotaxa_cli_py/api/collections_api.py | 90 +-- to_back/ecotaxa_cli_py/api/files_api.py | 22 +- .../{instrument_api.py => instruments_api.py} | 12 +- to_back/ecotaxa_cli_py/api/jobs_api.py | 76 ++- to_back/ecotaxa_cli_py/api/misc_api.py | 14 +- to_back/ecotaxa_cli_py/api/object_api.py | 18 +- to_back/ecotaxa_cli_py/api/objects_api.py | 382 +++++++++--- to_back/ecotaxa_cli_py/api/processes_api.py | 14 +- to_back/ecotaxa_cli_py/api/projects_api.py | 436 +++++++++++--- to_back/ecotaxa_cli_py/api/samples_api.py | 40 +- .../ecotaxa_cli_py/api/taxonomy_tree_api.py | 118 ++-- to_back/ecotaxa_cli_py/api/users_api.py | 54 +- to_back/ecotaxa_cli_py/api/wip_api.py | 6 +- to_back/ecotaxa_cli_py/api_client.py | 2 +- to_back/ecotaxa_cli_py/configuration.py | 4 +- to_back/ecotaxa_cli_py/exceptions.py | 2 +- to_back/ecotaxa_cli_py/models/__init__.py | 7 +- .../models/acquisition_model.py | 17 +- ...xport_object_set_object_set_export_post.py | 2 +- ...dict_object_set_object_set_predict_post.py | 148 +++++ .../body_put_user_file_my_files_post.py | 6 +- .../ecotaxa_cli_py/models/bulk_update_req.py | 6 +- .../models/classify_auto_req.py | 10 +- to_back/ecotaxa_cli_py/models/classify_req.py | 8 +- .../ecotaxa_cli_py/models/collection_model.py | 39 +- to_back/ecotaxa_cli_py/models/constants.py | 6 +- .../models/create_collection_req.py | 6 +- .../models/create_project_req.py | 8 +- .../models/directory_entry_model.py | 10 +- .../ecotaxa_cli_py/models/directory_model.py | 6 +- .../models/emo_dnet_export_rsp.py | 8 +- to_back/ecotaxa_cli_py/models/export_req.py | 26 +- to_back/ecotaxa_cli_py/models/export_rsp.py | 8 +- .../ecotaxa_cli_py/models/export_type_enum.py | 2 +- .../models/group_definitions.py | 2 +- .../models/historical_classification.py | 20 +- .../models/historical_last_classif.py | 16 +- .../models/http_validation_error.py | 2 +- to_back/ecotaxa_cli_py/models/image_model.py | 27 +- to_back/ecotaxa_cli_py/models/import_req.py | 12 +- to_back/ecotaxa_cli_py/models/import_rsp.py | 6 +- to_back/ecotaxa_cli_py/models/job_model.py | 37 +- .../ecotaxa_cli_py/models/limit_methods.py | 2 +- to_back/ecotaxa_cli_py/models/login_req.py | 58 +- to_back/ecotaxa_cli_py/models/merge_rsp.py | 4 +- .../ecotaxa_cli_py/models/minimal_user_bo.py | 2 +- .../models/object_header_model.py | 43 +- to_back/ecotaxa_cli_py/models/object_model.py | 51 +- .../models/object_set_query_rsp.py | 14 +- .../object_set_revert_to_history_rsp.py | 6 +- .../models/object_set_summary_rsp.py | 10 +- .../ecotaxa_cli_py/models/prediction_req.py | 295 ++++++++++ .../ecotaxa_cli_py/models/prediction_rsp.py | 178 ++++++ .../ecotaxa_cli_py/models/process_model.py | 6 +- .../ecotaxa_cli_py/models/project_filters.py | 56 +- .../ecotaxa_cli_py/models/project_model.py | 82 ++- .../models/project_set_column_stats_model.py | 234 ++++++++ .../models/project_summary_model.py | 16 +- .../models/project_taxo_stats_model.py | 14 +- .../models/project_user_stats_model.py | 8 +- to_back/ecotaxa_cli_py/models/sample_model.py | 19 +- .../models/sample_taxo_stats_model.py | 14 +- .../models/simple_import_req.py | 4 +- .../models/simple_import_rsp.py | 6 +- to_back/ecotaxa_cli_py/models/subset_req.py | 45 +- to_back/ecotaxa_cli_py/models/subset_rsp.py | 4 +- .../ecotaxa_cli_py/models/taxa_search_rsp.py | 10 +- .../ecotaxa_cli_py/models/taxon_central.py | 542 ++++++++++++++++++ to_back/ecotaxa_cli_py/models/taxon_model.py | 22 +- .../models/taxon_usage_model.py | 18 +- .../models/taxonomy_tree_status.py | 4 +- .../ecotaxa_cli_py/models/user_activity.py | 2 +- to_back/ecotaxa_cli_py/models/user_model.py | 23 +- .../models/user_model_with_rights.py | 27 +- .../ecotaxa_cli_py/models/validation_error.py | 2 +- to_back/ecotaxa_cli_py/rest.py | 2 +- 82 files changed, 3015 insertions(+), 602 deletions(-) rename to_back/ecotaxa_cli_py/api/{instrument_api.py => instruments_api.py} (92%) create mode 100644 to_back/ecotaxa_cli_py/models/body_predict_object_set_object_set_predict_post.py create mode 100644 to_back/ecotaxa_cli_py/models/prediction_req.py create mode 100644 to_back/ecotaxa_cli_py/models/prediction_rsp.py create mode 100644 to_back/ecotaxa_cli_py/models/project_set_column_stats_model.py create mode 100644 to_back/ecotaxa_cli_py/models/taxon_central.py diff --git a/appli/search/common.py b/appli/search/common.py index 3648e8f9..0df49a62 100644 --- a/appli/search/common.py +++ b/appli/search/common.py @@ -5,7 +5,7 @@ from appli import app, gvg, DecodeEqualList from appli.utils import ApiClient -from to_back.ecotaxa_cli_py.api import SamplesApi, InstrumentApi, TaxonomyTreeApi, ProjectsApi +from to_back.ecotaxa_cli_py.api import SamplesApi, InstrumentsApi, TaxonomyTreeApi, ProjectsApi from to_back.ecotaxa_cli_py.models import ProjectModel, SampleModel, TaxonModel, ProjectUserStatsModel @@ -64,7 +64,7 @@ def searchinstrumlist(): project_ids = "" if gvg("projid") != "": project_ids = gvg("projid") - with ApiClient(InstrumentApi, request) as api: + with ApiClient(InstrumentsApi, request) as api: instrums: List[str] = api.instrument_query_instruments_get(project_ids=project_ids) txt = "List of available Intruments :