Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion impresso/api_client/api/admin/admin_find.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/admin/admin_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/collections/create_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/collections/find_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/collections/get_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/collections/remove_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/collections/update_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/content_items/get_content_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/entities/find_entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/entities/get_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/experiments/find_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/images/find_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/images/get_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/media_sources/get_media_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/search/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/search_facets/get_images_facet.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/search_facets/get_search_facet.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/tools/perform_image_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/tools/perform_ner.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/tools/perform_text_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/tools/serialize_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/topics/find_topics.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/topics/get_topic.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
2 changes: 1 addition & 1 deletion impresso/api_client/api/version/get_version_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _parse_response(
response_418 = Error.from_dict(response.json())

return response_418
if response.status_code == HTTPStatus.UNPROCESSABLE_CONTENT:
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
response_422 = Error.from_dict(response.json())

return response_422
Expand Down
26 changes: 24 additions & 2 deletions impresso/api_client/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,20 @@
from .content_item_semantic_enrichments_mentions import ContentItemSemanticEnrichmentsMentions
from .content_item_semantic_enrichments_named_entities import ContentItemSemanticEnrichmentsNamedEntities
from .content_item_text import ContentItemText
from .content_item_text_advertisement import ContentItemTextAdvertisement
from .content_item_text_article import ContentItemTextArticle
from .content_item_text_chronicle import ContentItemTextChronicle
from .content_item_text_discussion import ContentItemTextDiscussion
from .content_item_text_document_type import ContentItemTextDocumentType
from .content_item_text_item_type import ContentItemTextItemType
from .content_item_text_entretien import ContentItemTextEntretien
from .content_item_text_image import ContentItemTextImage
from .content_item_text_match import ContentItemTextMatch
from .content_item_text_no_type_provided import ContentItemTextNoTypeProvided
from .content_item_text_obituary import ContentItemTextObituary
from .content_item_text_radio_broadcast import ContentItemTextRadioBroadcast
from .content_item_text_radio_broadcast_episode import ContentItemTextRadioBroadcastEpisode
from .content_item_text_table import ContentItemTextTable
from .content_item_text_weather import ContentItemTextWeather
from .content_item_topic import ContentItemTopic
from .data_provider import DataProvider
from .data_provider_names_item import DataProviderNamesItem
Expand Down Expand Up @@ -246,9 +257,20 @@
"ContentItemSemanticEnrichmentsMentions",
"ContentItemSemanticEnrichmentsNamedEntities",
"ContentItemText",
"ContentItemTextAdvertisement",
"ContentItemTextArticle",
"ContentItemTextChronicle",
"ContentItemTextDiscussion",
"ContentItemTextDocumentType",
"ContentItemTextItemType",
"ContentItemTextEntretien",
"ContentItemTextImage",
"ContentItemTextMatch",
"ContentItemTextNoTypeProvided",
"ContentItemTextObituary",
"ContentItemTextRadioBroadcast",
"ContentItemTextRadioBroadcastEpisode",
"ContentItemTextTable",
"ContentItemTextWeather",
"ContentItemTopic",
"DataProvider",
"DataProviderNamesItem",
Expand Down
Loading
Loading