Skip to content

Commit 835c60d

Browse files
committed
Bump to 0.1.8
1 parent f61565f commit 835c60d

39 files changed

+1269
-127
lines changed

.openapi-generator/FILES

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ docs/AnnotationFeedbackRequest.md
1313
docs/AnnotationRequest.md
1414
docs/AppUserTokenObtainPair.md
1515
docs/AppUserTokenObtainPairRequest.md
16+
docs/Assignment.md
1617
docs/AuthApi.md
1718
docs/AuthChangePasswordError.md
1819
docs/AuthChangePasswordNonFieldErrorsErrorComponent.md
@@ -240,16 +241,19 @@ docs/IdentificationtasksAnnotationsListOrderByErrorComponent.md
240241
docs/IdentificationtasksAnnotationsListUserIdsErrorComponent.md
241242
docs/IdentificationtasksAnnotationsListValidationError.md
242243
docs/IdentificationtasksListAnnotatorIdsErrorComponent.md
244+
docs/IdentificationtasksListAssigneeIdsErrorComponent.md
243245
docs/IdentificationtasksListCreatedAtErrorComponent.md
244246
docs/IdentificationtasksListError.md
245247
docs/IdentificationtasksListMineAnnotatorIdsErrorComponent.md
248+
docs/IdentificationtasksListMineAssigneeIdsErrorComponent.md
246249
docs/IdentificationtasksListMineCreatedAtErrorComponent.md
247250
docs/IdentificationtasksListMineError.md
248251
docs/IdentificationtasksListMineNumAnnotationsErrorComponent.md
249252
docs/IdentificationtasksListMineObservationCountryIdsErrorComponent.md
250253
docs/IdentificationtasksListMineOrderByErrorComponent.md
251254
docs/IdentificationtasksListMineResultAgreementErrorComponent.md
252255
docs/IdentificationtasksListMineResultConfidenceErrorComponent.md
256+
docs/IdentificationtasksListMineResultSourceErrorComponent.md
253257
docs/IdentificationtasksListMineResultTaxonIdsErrorComponent.md
254258
docs/IdentificationtasksListMineResultUncertaintyErrorComponent.md
255259
docs/IdentificationtasksListMineReviewTypeErrorComponent.md
@@ -261,6 +265,7 @@ docs/IdentificationtasksListObservationCountryIdsErrorComponent.md
261265
docs/IdentificationtasksListOrderByErrorComponent.md
262266
docs/IdentificationtasksListResultAgreementErrorComponent.md
263267
docs/IdentificationtasksListResultConfidenceErrorComponent.md
268+
docs/IdentificationtasksListResultSourceErrorComponent.md
264269
docs/IdentificationtasksListResultTaxonIdsErrorComponent.md
265270
docs/IdentificationtasksListResultUncertaintyErrorComponent.md
266271
docs/IdentificationtasksListReviewTypeErrorComponent.md
@@ -602,6 +607,7 @@ mosquito_alert/models/annotation_feedback_request.py
602607
mosquito_alert/models/annotation_request.py
603608
mosquito_alert/models/app_user_token_obtain_pair.py
604609
mosquito_alert/models/app_user_token_obtain_pair_request.py
610+
mosquito_alert/models/assignment.py
605611
mosquito_alert/models/auth_change_password_error.py
606612
mosquito_alert/models/auth_change_password_non_field_errors_error_component.py
607613
mosquito_alert/models/auth_change_password_password_error_component.py
@@ -821,16 +827,19 @@ mosquito_alert/models/identificationtasks_annotations_list_order_by_error_compon
821827
mosquito_alert/models/identificationtasks_annotations_list_user_ids_error_component.py
822828
mosquito_alert/models/identificationtasks_annotations_list_validation_error.py
823829
mosquito_alert/models/identificationtasks_list_annotator_ids_error_component.py
830+
mosquito_alert/models/identificationtasks_list_assignee_ids_error_component.py
824831
mosquito_alert/models/identificationtasks_list_created_at_error_component.py
825832
mosquito_alert/models/identificationtasks_list_error.py
826833
mosquito_alert/models/identificationtasks_list_mine_annotator_ids_error_component.py
834+
mosquito_alert/models/identificationtasks_list_mine_assignee_ids_error_component.py
827835
mosquito_alert/models/identificationtasks_list_mine_created_at_error_component.py
828836
mosquito_alert/models/identificationtasks_list_mine_error.py
829837
mosquito_alert/models/identificationtasks_list_mine_num_annotations_error_component.py
830838
mosquito_alert/models/identificationtasks_list_mine_observation_country_ids_error_component.py
831839
mosquito_alert/models/identificationtasks_list_mine_order_by_error_component.py
832840
mosquito_alert/models/identificationtasks_list_mine_result_agreement_error_component.py
833841
mosquito_alert/models/identificationtasks_list_mine_result_confidence_error_component.py
842+
mosquito_alert/models/identificationtasks_list_mine_result_source_error_component.py
834843
mosquito_alert/models/identificationtasks_list_mine_result_taxon_ids_error_component.py
835844
mosquito_alert/models/identificationtasks_list_mine_result_uncertainty_error_component.py
836845
mosquito_alert/models/identificationtasks_list_mine_review_type_error_component.py
@@ -842,6 +851,7 @@ mosquito_alert/models/identificationtasks_list_observation_country_ids_error_com
842851
mosquito_alert/models/identificationtasks_list_order_by_error_component.py
843852
mosquito_alert/models/identificationtasks_list_result_agreement_error_component.py
844853
mosquito_alert/models/identificationtasks_list_result_confidence_error_component.py
854+
mosquito_alert/models/identificationtasks_list_result_source_error_component.py
845855
mosquito_alert/models/identificationtasks_list_result_taxon_ids_error_component.py
846856
mosquito_alert/models/identificationtasks_list_result_uncertainty_error_component.py
847857
mosquito_alert/models/identificationtasks_list_review_type_error_component.py
@@ -1163,6 +1173,7 @@ test/test_annotation_feedback_request.py
11631173
test/test_annotation_request.py
11641174
test/test_app_user_token_obtain_pair.py
11651175
test/test_app_user_token_obtain_pair_request.py
1176+
test/test_assignment.py
11661177
test/test_auth_api.py
11671178
test/test_auth_change_password_error.py
11681179
test/test_auth_change_password_non_field_errors_error_component.py
@@ -1390,16 +1401,19 @@ test/test_identificationtasks_annotations_list_order_by_error_component.py
13901401
test/test_identificationtasks_annotations_list_user_ids_error_component.py
13911402
test/test_identificationtasks_annotations_list_validation_error.py
13921403
test/test_identificationtasks_list_annotator_ids_error_component.py
1404+
test/test_identificationtasks_list_assignee_ids_error_component.py
13931405
test/test_identificationtasks_list_created_at_error_component.py
13941406
test/test_identificationtasks_list_error.py
13951407
test/test_identificationtasks_list_mine_annotator_ids_error_component.py
1408+
test/test_identificationtasks_list_mine_assignee_ids_error_component.py
13961409
test/test_identificationtasks_list_mine_created_at_error_component.py
13971410
test/test_identificationtasks_list_mine_error.py
13981411
test/test_identificationtasks_list_mine_num_annotations_error_component.py
13991412
test/test_identificationtasks_list_mine_observation_country_ids_error_component.py
14001413
test/test_identificationtasks_list_mine_order_by_error_component.py
14011414
test/test_identificationtasks_list_mine_result_agreement_error_component.py
14021415
test/test_identificationtasks_list_mine_result_confidence_error_component.py
1416+
test/test_identificationtasks_list_mine_result_source_error_component.py
14031417
test/test_identificationtasks_list_mine_result_taxon_ids_error_component.py
14041418
test/test_identificationtasks_list_mine_result_uncertainty_error_component.py
14051419
test/test_identificationtasks_list_mine_review_type_error_component.py
@@ -1411,6 +1425,7 @@ test/test_identificationtasks_list_observation_country_ids_error_component.py
14111425
test/test_identificationtasks_list_order_by_error_component.py
14121426
test/test_identificationtasks_list_result_agreement_error_component.py
14131427
test/test_identificationtasks_list_result_confidence_error_component.py
1428+
test/test_identificationtasks_list_result_source_error_component.py
14141429
test/test_identificationtasks_list_result_taxon_ids_error_component.py
14151430
test/test_identificationtasks_list_result_uncertainty_error_component.py
14161431
test/test_identificationtasks_list_review_type_error_component.py

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Introducing API v1 for Mosquito Alert platform, a project desgined to facilitate
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: v1
7-
- Package version: 0.1.7
7+
- Package version: 0.1.8
88
- Generator version: 7.12.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

@@ -131,7 +131,7 @@ Class | Method | HTTP request | Description
131131
*IdentificationTasksApi* | [**annotations_list**](docs/IdentificationTasksApi.md#annotations_list) | **GET** /identification-tasks/{observation_uuid}/annotations/ |
132132
*IdentificationTasksApi* | [**annotations_list_mine**](docs/IdentificationTasksApi.md#annotations_list_mine) | **GET** /me/identification-tasks/annotations/ |
133133
*IdentificationTasksApi* | [**annotations_retrieve**](docs/IdentificationTasksApi.md#annotations_retrieve) | **GET** /identification-tasks/{observation_uuid}/annotations/{id}/ |
134-
*IdentificationTasksApi* | [**backlog_next_retrieve**](docs/IdentificationTasksApi.md#backlog_next_retrieve) | **GET** /identification-tasks/backlog/next/ |
134+
*IdentificationTasksApi* | [**assign_new**](docs/IdentificationTasksApi.md#assign_new) | **POST** /identification-tasks/assign/ |
135135
*IdentificationTasksApi* | [**list**](docs/IdentificationTasksApi.md#list) | **GET** /identification-tasks/ |
136136
*IdentificationTasksApi* | [**list_mine**](docs/IdentificationTasksApi.md#list_mine) | **GET** /me/identification-tasks/ |
137137
*IdentificationTasksApi* | [**photos_list**](docs/IdentificationTasksApi.md#photos_list) | **GET** /identification-tasks/{observation_uuid}/photos/ |
@@ -183,6 +183,7 @@ Class | Method | HTTP request | Description
183183
- [AnnotationRequest](docs/AnnotationRequest.md)
184184
- [AppUserTokenObtainPair](docs/AppUserTokenObtainPair.md)
185185
- [AppUserTokenObtainPairRequest](docs/AppUserTokenObtainPairRequest.md)
186+
- [Assignment](docs/Assignment.md)
186187
- [AuthChangePasswordError](docs/AuthChangePasswordError.md)
187188
- [AuthChangePasswordNonFieldErrorsErrorComponent](docs/AuthChangePasswordNonFieldErrorsErrorComponent.md)
188189
- [AuthChangePasswordPasswordErrorComponent](docs/AuthChangePasswordPasswordErrorComponent.md)
@@ -402,16 +403,19 @@ Class | Method | HTTP request | Description
402403
- [IdentificationtasksAnnotationsListUserIdsErrorComponent](docs/IdentificationtasksAnnotationsListUserIdsErrorComponent.md)
403404
- [IdentificationtasksAnnotationsListValidationError](docs/IdentificationtasksAnnotationsListValidationError.md)
404405
- [IdentificationtasksListAnnotatorIdsErrorComponent](docs/IdentificationtasksListAnnotatorIdsErrorComponent.md)
406+
- [IdentificationtasksListAssigneeIdsErrorComponent](docs/IdentificationtasksListAssigneeIdsErrorComponent.md)
405407
- [IdentificationtasksListCreatedAtErrorComponent](docs/IdentificationtasksListCreatedAtErrorComponent.md)
406408
- [IdentificationtasksListError](docs/IdentificationtasksListError.md)
407409
- [IdentificationtasksListMineAnnotatorIdsErrorComponent](docs/IdentificationtasksListMineAnnotatorIdsErrorComponent.md)
410+
- [IdentificationtasksListMineAssigneeIdsErrorComponent](docs/IdentificationtasksListMineAssigneeIdsErrorComponent.md)
408411
- [IdentificationtasksListMineCreatedAtErrorComponent](docs/IdentificationtasksListMineCreatedAtErrorComponent.md)
409412
- [IdentificationtasksListMineError](docs/IdentificationtasksListMineError.md)
410413
- [IdentificationtasksListMineNumAnnotationsErrorComponent](docs/IdentificationtasksListMineNumAnnotationsErrorComponent.md)
411414
- [IdentificationtasksListMineObservationCountryIdsErrorComponent](docs/IdentificationtasksListMineObservationCountryIdsErrorComponent.md)
412415
- [IdentificationtasksListMineOrderByErrorComponent](docs/IdentificationtasksListMineOrderByErrorComponent.md)
413416
- [IdentificationtasksListMineResultAgreementErrorComponent](docs/IdentificationtasksListMineResultAgreementErrorComponent.md)
414417
- [IdentificationtasksListMineResultConfidenceErrorComponent](docs/IdentificationtasksListMineResultConfidenceErrorComponent.md)
418+
- [IdentificationtasksListMineResultSourceErrorComponent](docs/IdentificationtasksListMineResultSourceErrorComponent.md)
415419
- [IdentificationtasksListMineResultTaxonIdsErrorComponent](docs/IdentificationtasksListMineResultTaxonIdsErrorComponent.md)
416420
- [IdentificationtasksListMineResultUncertaintyErrorComponent](docs/IdentificationtasksListMineResultUncertaintyErrorComponent.md)
417421
- [IdentificationtasksListMineReviewTypeErrorComponent](docs/IdentificationtasksListMineReviewTypeErrorComponent.md)
@@ -423,6 +427,7 @@ Class | Method | HTTP request | Description
423427
- [IdentificationtasksListOrderByErrorComponent](docs/IdentificationtasksListOrderByErrorComponent.md)
424428
- [IdentificationtasksListResultAgreementErrorComponent](docs/IdentificationtasksListResultAgreementErrorComponent.md)
425429
- [IdentificationtasksListResultConfidenceErrorComponent](docs/IdentificationtasksListResultConfidenceErrorComponent.md)
430+
- [IdentificationtasksListResultSourceErrorComponent](docs/IdentificationtasksListResultSourceErrorComponent.md)
426431
- [IdentificationtasksListResultTaxonIdsErrorComponent](docs/IdentificationtasksListResultTaxonIdsErrorComponent.md)
427432
- [IdentificationtasksListResultUncertaintyErrorComponent](docs/IdentificationtasksListResultUncertaintyErrorComponent.md)
428433
- [IdentificationtasksListReviewTypeErrorComponent](docs/IdentificationtasksListReviewTypeErrorComponent.md)

docs/Assignment.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Assignment
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**user** | [**SimpleAnnotatorUser**](SimpleAnnotatorUser.md) | |
9+
**annotation_id** | **int** | | [readonly]
10+
11+
## Example
12+
13+
```python
14+
from mosquito_alert.models.assignment import Assignment
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of Assignment from a JSON string
19+
assignment_instance = Assignment.from_json(json)
20+
# print the JSON string representation of the object
21+
print(Assignment.to_json())
22+
23+
# convert the object into a dict
24+
assignment_dict = assignment_instance.to_dict()
25+
# create an instance of Assignment from a dict
26+
assignment_from_dict = Assignment.from_dict(assignment_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+

docs/IdentificationTask.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**observation** | [**SimplifiedObservation**](SimplifiedObservation.md) | | [readonly]
99
**public_photo** | [**SimplePhoto**](SimplePhoto.md) | |
10-
**annotators** | [**List[SimpleAnnotatorUser]**](SimpleAnnotatorUser.md) | | [readonly]
10+
**assignments** | [**List[Assignment]**](Assignment.md) | | [readonly]
1111
**status** | **str** | | [optional] [default to 'open']
1212
**is_flagged** | **bool** | | [readonly]
1313
**is_safe** | **bool** | Indicates if the content is safe for publication. | [readonly]

0 commit comments

Comments
 (0)