Skip to content

Commit

Permalink
v 2.5.10: Release notes and API freeze.
Browse files Browse the repository at this point in the history
  • Loading branch information
grololo06 committed Jun 15, 2021
1 parent 324fe79 commit f8c98eb
Show file tree
Hide file tree
Showing 73 changed files with 215 additions and 85 deletions.
9 changes: 7 additions & 2 deletions appli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,18 +395,23 @@ def JinjaGetManagerList(sujet=""):
return " ".join(["<li><a href='mailto:{1}{0}'>{2} ({1})</a></li> ".format(sujet, *r) for r in LstUsers])


ecotaxa_version = "2.5.9"
ecotaxa_version = "2.5.10"


def JinjaGetEcotaxaVersionText():
return ecotaxa_version + " 2021-06-10"
return ecotaxa_version + " 2021-06-16"


app.jinja_env.filters['datetime'] = JinjaFormatDateTime
app.jinja_env.filters['nl2br'] = JinjaNl2BR
app.jinja_env.globals.update(GetManagerList=JinjaGetManagerList, GetEcotaxaVersionText=JinjaGetEcotaxaVersionText)

"""Changelog
2021-06-16 : V 2.5.10
Bug #686: Ensure that project link is present for new export jobs.
Feature #605 (start): Automatic classification result can now be stored by calling an API endpoint.
Bug #687: When an import job goes wild, it can generate an un-displayable number of errors.
Bug #688: Seldom but confusing python error when a job starts.
2021-06-10 : V 2.5.9
Feature #600: Move export function(s) to back-end
Feature #603: Add image references to exported data, even if without images themselves
Expand Down
3 changes: 2 additions & 1 deletion to_back/ecotaxa_cli_py/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -46,6 +46,7 @@
from to_back.ecotaxa_cli_py.models.body_export_object_set_object_set_export_post import BodyExportObjectSetObjectSetExportPost
from to_back.ecotaxa_cli_py.models.body_put_user_file_my_files_post import BodyPutUserFileMyFilesPost
from to_back.ecotaxa_cli_py.models.bulk_update_req import BulkUpdateReq
from to_back.ecotaxa_cli_py.models.classify_auto_req import ClassifyAutoReq
from to_back.ecotaxa_cli_py.models.classify_req import ClassifyReq
from to_back.ecotaxa_cli_py.models.collection_model import CollectionModel
from to_back.ecotaxa_cli_py.models.constants import Constants
Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/acquisitions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/authentification_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/collections_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/files_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/instrument_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/jobs_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/misc_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/object_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
120 changes: 119 additions & 1 deletion to_back/ecotaxa_cli_py/api/objects_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -36,6 +36,124 @@ def __init__(self, api_client=None):
api_client = ApiClient()
self.api_client = api_client

def classify_auto_object_set_object_set_classify_auto_post(self, classify_auto_req, **kwargs): # noqa: E501
"""Classify Auto Object Set # noqa: E501
Inject automatic classification of a set of objects. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.classify_auto_object_set_object_set_classify_auto_post(classify_auto_req, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param ClassifyAutoReq classify_auto_req: (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: object
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.classify_auto_object_set_object_set_classify_auto_post_with_http_info(classify_auto_req, **kwargs) # noqa: E501

def classify_auto_object_set_object_set_classify_auto_post_with_http_info(self, classify_auto_req, **kwargs): # noqa: E501
"""Classify Auto Object Set # noqa: E501
Inject automatic classification of a set of objects. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.classify_auto_object_set_object_set_classify_auto_post_with_http_info(classify_auto_req, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param ClassifyAutoReq classify_auto_req: (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(object, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""

local_var_params = locals()

all_params = [
'classify_auto_req'
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout'
]
)

for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method classify_auto_object_set_object_set_classify_auto_post" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'classify_auto_req' is set
if self.api_client.client_side_validation and ('classify_auto_req' not in local_var_params or # noqa: E501
local_var_params['classify_auto_req'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `classify_auto_req` when calling `classify_auto_object_set_object_set_classify_auto_post`") # noqa: E501

collection_formats = {}

path_params = {}

query_params = []

header_params = {}

form_params = []
local_var_files = {}

body_params = None
if 'classify_auto_req' in local_var_params:
body_params = local_var_params['classify_auto_req']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/object_set/classify_auto', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='object', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)

def classify_object_set_object_set_classify_post(self, classify_req, **kwargs): # noqa: E501
"""Classify Object Set # noqa: E501
Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/processes_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/projects_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/samples_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/taxonomy_tree_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/users_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/wip_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
4 changes: 2 additions & 2 deletions to_back/ecotaxa_cli_py/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -335,7 +335,7 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.0.14\n"\
"Version of the API: 0.0.15\n"\
"SDK Package Version: 1.0.0".\
format(env=sys.platform, pyversion=sys.version)

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
3 changes: 2 additions & 1 deletion to_back/ecotaxa_cli_py/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand All @@ -18,6 +18,7 @@
from to_back.ecotaxa_cli_py.models.body_export_object_set_object_set_export_post import BodyExportObjectSetObjectSetExportPost
from to_back.ecotaxa_cli_py.models.body_put_user_file_my_files_post import BodyPutUserFileMyFilesPost
from to_back.ecotaxa_cli_py.models.bulk_update_req import BulkUpdateReq
from to_back.ecotaxa_cli_py.models.classify_auto_req import ClassifyAutoReq
from to_back.ecotaxa_cli_py.models.classify_req import ClassifyReq
from to_back.ecotaxa_cli_py.models.collection_model import CollectionModel
from to_back.ecotaxa_cli_py.models.constants import Constants
Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/models/acquisition_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/models/bulk_update_req.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.14
The version of the OpenAPI document: 0.0.15
Generated by: https://openapi-generator.tech
"""

Expand Down
Loading

0 comments on commit f8c98eb

Please sign in to comment.