wordlift-client 1.108.0__py3-none-any.whl → 1.110.0__py3-none-any.whl
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.
- wordlift_client/__init__.py +1 -1
- wordlift_client/api/autocomplete_api.py +7 -7
- wordlift_client/api/content_generation_records_api.py +16 -16
- wordlift_client/api/content_generation_stats_api.py +7 -7
- wordlift_client/api/data_uri_api.py +7 -7
- wordlift_client/api/plugin_events_api.py +16 -16
- wordlift_client/api/web_asyncs_metadata_api.py +7 -7
- wordlift_client/api_client.py +1 -1
- wordlift_client/configuration.py +1 -1
- wordlift_client/models/entity.py +7 -23
- wordlift_client/models/entity1.py +23 -7
- wordlift_client/models/longtail_response.py +3 -3
- wordlift_client/models/properties.py +8 -8
- wordlift_client/models/properties1.py +8 -8
- wordlift_client/models/rank_entities.py +3 -3
- wordlift_client/models/request2.py +9 -12
- wordlift_client/models/request3.py +12 -9
- wordlift_client/models/response1.py +3 -3
- wordlift_client/models/web_page_import_request.py +3 -1
- wordlift_client/models/web_page_import_response.py +4 -2
- {wordlift_client-1.108.0.dist-info → wordlift_client-1.110.0.dist-info}/METADATA +1 -1
- {wordlift_client-1.108.0.dist-info → wordlift_client-1.110.0.dist-info}/RECORD +25 -25
- {wordlift_client-1.108.0.dist-info → wordlift_client-1.110.0.dist-info}/LICENSE +0 -0
- {wordlift_client-1.108.0.dist-info → wordlift_client-1.110.0.dist-info}/WHEEL +0 -0
- {wordlift_client-1.108.0.dist-info → wordlift_client-1.110.0.dist-info}/top_level.txt +0 -0
wordlift_client/__init__.py
CHANGED
|
@@ -41,7 +41,7 @@ class AutocompleteApi:
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
@validate_call
|
|
44
|
-
async def
|
|
44
|
+
async def get3(
|
|
45
45
|
self,
|
|
46
46
|
query: Annotated[StrictStr, Field(description="Autocomplete query")],
|
|
47
47
|
language: Annotated[StrictStr, Field(description="2-letter language code, e.g. 'en'.")],
|
|
@@ -97,7 +97,7 @@ class AutocompleteApi:
|
|
|
97
97
|
:return: Returns the result object.
|
|
98
98
|
""" # noqa: E501
|
|
99
99
|
|
|
100
|
-
_param = self.
|
|
100
|
+
_param = self._get3_serialize(
|
|
101
101
|
query=query,
|
|
102
102
|
language=language,
|
|
103
103
|
scope=scope,
|
|
@@ -126,7 +126,7 @@ class AutocompleteApi:
|
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
@validate_call
|
|
129
|
-
async def
|
|
129
|
+
async def get3_with_http_info(
|
|
130
130
|
self,
|
|
131
131
|
query: Annotated[StrictStr, Field(description="Autocomplete query")],
|
|
132
132
|
language: Annotated[StrictStr, Field(description="2-letter language code, e.g. 'en'.")],
|
|
@@ -182,7 +182,7 @@ class AutocompleteApi:
|
|
|
182
182
|
:return: Returns the result object.
|
|
183
183
|
""" # noqa: E501
|
|
184
184
|
|
|
185
|
-
_param = self.
|
|
185
|
+
_param = self._get3_serialize(
|
|
186
186
|
query=query,
|
|
187
187
|
language=language,
|
|
188
188
|
scope=scope,
|
|
@@ -211,7 +211,7 @@ class AutocompleteApi:
|
|
|
211
211
|
|
|
212
212
|
|
|
213
213
|
@validate_call
|
|
214
|
-
async def
|
|
214
|
+
async def get3_without_preload_content(
|
|
215
215
|
self,
|
|
216
216
|
query: Annotated[StrictStr, Field(description="Autocomplete query")],
|
|
217
217
|
language: Annotated[StrictStr, Field(description="2-letter language code, e.g. 'en'.")],
|
|
@@ -267,7 +267,7 @@ class AutocompleteApi:
|
|
|
267
267
|
:return: Returns the result object.
|
|
268
268
|
""" # noqa: E501
|
|
269
269
|
|
|
270
|
-
_param = self.
|
|
270
|
+
_param = self._get3_serialize(
|
|
271
271
|
query=query,
|
|
272
272
|
language=language,
|
|
273
273
|
scope=scope,
|
|
@@ -291,7 +291,7 @@ class AutocompleteApi:
|
|
|
291
291
|
return response_data.response
|
|
292
292
|
|
|
293
293
|
|
|
294
|
-
def
|
|
294
|
+
def _get3_serialize(
|
|
295
295
|
self,
|
|
296
296
|
query,
|
|
297
297
|
language,
|
|
@@ -22,7 +22,7 @@ from typing import List, Optional
|
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from wordlift_client.models.page_record import PageRecord
|
|
24
24
|
from wordlift_client.models.record import Record
|
|
25
|
-
from wordlift_client.models.
|
|
25
|
+
from wordlift_client.models.request3 import Request3
|
|
26
26
|
from wordlift_client.models.update_record_request import UpdateRecordRequest
|
|
27
27
|
from wordlift_client.models.update_records_request import UpdateRecordsRequest
|
|
28
28
|
|
|
@@ -886,7 +886,7 @@ class ContentGenerationRecordsApi:
|
|
|
886
886
|
self,
|
|
887
887
|
content_generation_id: Annotated[StrictInt, Field(description="The Content Generation id.")],
|
|
888
888
|
record_id: Annotated[StrictInt, Field(description="The Record id.")],
|
|
889
|
-
|
|
889
|
+
request3: Request3,
|
|
890
890
|
_request_timeout: Union[
|
|
891
891
|
None,
|
|
892
892
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -907,8 +907,8 @@ class ContentGenerationRecordsApi:
|
|
|
907
907
|
:type content_generation_id: int
|
|
908
908
|
:param record_id: The Record id. (required)
|
|
909
909
|
:type record_id: int
|
|
910
|
-
:param
|
|
911
|
-
:type
|
|
910
|
+
:param request3: (required)
|
|
911
|
+
:type request3: Request3
|
|
912
912
|
:param _request_timeout: timeout setting for this request. If one
|
|
913
913
|
number provided, it will be total request
|
|
914
914
|
timeout. It can also be a pair (tuple) of
|
|
@@ -934,7 +934,7 @@ class ContentGenerationRecordsApi:
|
|
|
934
934
|
_param = self._update_record_serialize(
|
|
935
935
|
content_generation_id=content_generation_id,
|
|
936
936
|
record_id=record_id,
|
|
937
|
-
|
|
937
|
+
request3=request3,
|
|
938
938
|
_request_auth=_request_auth,
|
|
939
939
|
_content_type=_content_type,
|
|
940
940
|
_headers=_headers,
|
|
@@ -962,7 +962,7 @@ class ContentGenerationRecordsApi:
|
|
|
962
962
|
self,
|
|
963
963
|
content_generation_id: Annotated[StrictInt, Field(description="The Content Generation id.")],
|
|
964
964
|
record_id: Annotated[StrictInt, Field(description="The Record id.")],
|
|
965
|
-
|
|
965
|
+
request3: Request3,
|
|
966
966
|
_request_timeout: Union[
|
|
967
967
|
None,
|
|
968
968
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -983,8 +983,8 @@ class ContentGenerationRecordsApi:
|
|
|
983
983
|
:type content_generation_id: int
|
|
984
984
|
:param record_id: The Record id. (required)
|
|
985
985
|
:type record_id: int
|
|
986
|
-
:param
|
|
987
|
-
:type
|
|
986
|
+
:param request3: (required)
|
|
987
|
+
:type request3: Request3
|
|
988
988
|
:param _request_timeout: timeout setting for this request. If one
|
|
989
989
|
number provided, it will be total request
|
|
990
990
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1010,7 +1010,7 @@ class ContentGenerationRecordsApi:
|
|
|
1010
1010
|
_param = self._update_record_serialize(
|
|
1011
1011
|
content_generation_id=content_generation_id,
|
|
1012
1012
|
record_id=record_id,
|
|
1013
|
-
|
|
1013
|
+
request3=request3,
|
|
1014
1014
|
_request_auth=_request_auth,
|
|
1015
1015
|
_content_type=_content_type,
|
|
1016
1016
|
_headers=_headers,
|
|
@@ -1038,7 +1038,7 @@ class ContentGenerationRecordsApi:
|
|
|
1038
1038
|
self,
|
|
1039
1039
|
content_generation_id: Annotated[StrictInt, Field(description="The Content Generation id.")],
|
|
1040
1040
|
record_id: Annotated[StrictInt, Field(description="The Record id.")],
|
|
1041
|
-
|
|
1041
|
+
request3: Request3,
|
|
1042
1042
|
_request_timeout: Union[
|
|
1043
1043
|
None,
|
|
1044
1044
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1059,8 +1059,8 @@ class ContentGenerationRecordsApi:
|
|
|
1059
1059
|
:type content_generation_id: int
|
|
1060
1060
|
:param record_id: The Record id. (required)
|
|
1061
1061
|
:type record_id: int
|
|
1062
|
-
:param
|
|
1063
|
-
:type
|
|
1062
|
+
:param request3: (required)
|
|
1063
|
+
:type request3: Request3
|
|
1064
1064
|
:param _request_timeout: timeout setting for this request. If one
|
|
1065
1065
|
number provided, it will be total request
|
|
1066
1066
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1086,7 +1086,7 @@ class ContentGenerationRecordsApi:
|
|
|
1086
1086
|
_param = self._update_record_serialize(
|
|
1087
1087
|
content_generation_id=content_generation_id,
|
|
1088
1088
|
record_id=record_id,
|
|
1089
|
-
|
|
1089
|
+
request3=request3,
|
|
1090
1090
|
_request_auth=_request_auth,
|
|
1091
1091
|
_content_type=_content_type,
|
|
1092
1092
|
_headers=_headers,
|
|
@@ -1109,7 +1109,7 @@ class ContentGenerationRecordsApi:
|
|
|
1109
1109
|
self,
|
|
1110
1110
|
content_generation_id,
|
|
1111
1111
|
record_id,
|
|
1112
|
-
|
|
1112
|
+
request3,
|
|
1113
1113
|
_request_auth,
|
|
1114
1114
|
_content_type,
|
|
1115
1115
|
_headers,
|
|
@@ -1137,8 +1137,8 @@ class ContentGenerationRecordsApi:
|
|
|
1137
1137
|
# process the header parameters
|
|
1138
1138
|
# process the form parameters
|
|
1139
1139
|
# process the body parameter
|
|
1140
|
-
if
|
|
1141
|
-
_body_params =
|
|
1140
|
+
if request3 is not None:
|
|
1141
|
+
_body_params = request3
|
|
1142
1142
|
|
|
1143
1143
|
|
|
1144
1144
|
# set the HTTP header `Accept`
|
|
@@ -40,7 +40,7 @@ class ContentGenerationStatsApi:
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
@validate_call
|
|
43
|
-
async def
|
|
43
|
+
async def get4(
|
|
44
44
|
self,
|
|
45
45
|
content_generation_id: Annotated[StrictInt, Field(description="The Content Generation id.")],
|
|
46
46
|
_request_timeout: Union[
|
|
@@ -83,7 +83,7 @@ class ContentGenerationStatsApi:
|
|
|
83
83
|
:return: Returns the result object.
|
|
84
84
|
""" # noqa: E501
|
|
85
85
|
|
|
86
|
-
_param = self.
|
|
86
|
+
_param = self._get4_serialize(
|
|
87
87
|
content_generation_id=content_generation_id,
|
|
88
88
|
_request_auth=_request_auth,
|
|
89
89
|
_content_type=_content_type,
|
|
@@ -108,7 +108,7 @@ class ContentGenerationStatsApi:
|
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
@validate_call
|
|
111
|
-
async def
|
|
111
|
+
async def get4_with_http_info(
|
|
112
112
|
self,
|
|
113
113
|
content_generation_id: Annotated[StrictInt, Field(description="The Content Generation id.")],
|
|
114
114
|
_request_timeout: Union[
|
|
@@ -151,7 +151,7 @@ class ContentGenerationStatsApi:
|
|
|
151
151
|
:return: Returns the result object.
|
|
152
152
|
""" # noqa: E501
|
|
153
153
|
|
|
154
|
-
_param = self.
|
|
154
|
+
_param = self._get4_serialize(
|
|
155
155
|
content_generation_id=content_generation_id,
|
|
156
156
|
_request_auth=_request_auth,
|
|
157
157
|
_content_type=_content_type,
|
|
@@ -176,7 +176,7 @@ class ContentGenerationStatsApi:
|
|
|
176
176
|
|
|
177
177
|
|
|
178
178
|
@validate_call
|
|
179
|
-
async def
|
|
179
|
+
async def get4_without_preload_content(
|
|
180
180
|
self,
|
|
181
181
|
content_generation_id: Annotated[StrictInt, Field(description="The Content Generation id.")],
|
|
182
182
|
_request_timeout: Union[
|
|
@@ -219,7 +219,7 @@ class ContentGenerationStatsApi:
|
|
|
219
219
|
:return: Returns the result object.
|
|
220
220
|
""" # noqa: E501
|
|
221
221
|
|
|
222
|
-
_param = self.
|
|
222
|
+
_param = self._get4_serialize(
|
|
223
223
|
content_generation_id=content_generation_id,
|
|
224
224
|
_request_auth=_request_auth,
|
|
225
225
|
_content_type=_content_type,
|
|
@@ -239,7 +239,7 @@ class ContentGenerationStatsApi:
|
|
|
239
239
|
return response_data.response
|
|
240
240
|
|
|
241
241
|
|
|
242
|
-
def
|
|
242
|
+
def _get4_serialize(
|
|
243
243
|
self,
|
|
244
244
|
content_generation_id,
|
|
245
245
|
_request_auth,
|
|
@@ -39,7 +39,7 @@ class DataURIApi:
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
@validate_call
|
|
42
|
-
async def
|
|
42
|
+
async def get2(
|
|
43
43
|
self,
|
|
44
44
|
u: Annotated[StrictStr, Field(description="The Web Page URL.")],
|
|
45
45
|
_request_timeout: Union[
|
|
@@ -83,7 +83,7 @@ class DataURIApi:
|
|
|
83
83
|
:return: Returns the result object.
|
|
84
84
|
""" # noqa: E501
|
|
85
85
|
|
|
86
|
-
_param = self.
|
|
86
|
+
_param = self._get2_serialize(
|
|
87
87
|
u=u,
|
|
88
88
|
_request_auth=_request_auth,
|
|
89
89
|
_content_type=_content_type,
|
|
@@ -106,7 +106,7 @@ class DataURIApi:
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
@validate_call
|
|
109
|
-
async def
|
|
109
|
+
async def get2_with_http_info(
|
|
110
110
|
self,
|
|
111
111
|
u: Annotated[StrictStr, Field(description="The Web Page URL.")],
|
|
112
112
|
_request_timeout: Union[
|
|
@@ -150,7 +150,7 @@ class DataURIApi:
|
|
|
150
150
|
:return: Returns the result object.
|
|
151
151
|
""" # noqa: E501
|
|
152
152
|
|
|
153
|
-
_param = self.
|
|
153
|
+
_param = self._get2_serialize(
|
|
154
154
|
u=u,
|
|
155
155
|
_request_auth=_request_auth,
|
|
156
156
|
_content_type=_content_type,
|
|
@@ -173,7 +173,7 @@ class DataURIApi:
|
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
@validate_call
|
|
176
|
-
async def
|
|
176
|
+
async def get2_without_preload_content(
|
|
177
177
|
self,
|
|
178
178
|
u: Annotated[StrictStr, Field(description="The Web Page URL.")],
|
|
179
179
|
_request_timeout: Union[
|
|
@@ -217,7 +217,7 @@ class DataURIApi:
|
|
|
217
217
|
:return: Returns the result object.
|
|
218
218
|
""" # noqa: E501
|
|
219
219
|
|
|
220
|
-
_param = self.
|
|
220
|
+
_param = self._get2_serialize(
|
|
221
221
|
u=u,
|
|
222
222
|
_request_auth=_request_auth,
|
|
223
223
|
_content_type=_content_type,
|
|
@@ -235,7 +235,7 @@ class DataURIApi:
|
|
|
235
235
|
return response_data.response
|
|
236
236
|
|
|
237
237
|
|
|
238
|
-
def
|
|
238
|
+
def _get2_serialize(
|
|
239
239
|
self,
|
|
240
240
|
u,
|
|
241
241
|
_request_auth,
|
|
@@ -22,7 +22,7 @@ from pydantic import Field, StrictInt, StrictStr
|
|
|
22
22
|
from typing import List, Optional
|
|
23
23
|
from typing_extensions import Annotated
|
|
24
24
|
from wordlift_client.models.event import Event
|
|
25
|
-
from wordlift_client.models.
|
|
25
|
+
from wordlift_client.models.request2 import Request2
|
|
26
26
|
from wordlift_client.models.response2 import Response2
|
|
27
27
|
|
|
28
28
|
from wordlift_client.api_client import ApiClient, RequestSerialized
|
|
@@ -46,7 +46,7 @@ class PluginEventsApi:
|
|
|
46
46
|
@validate_call
|
|
47
47
|
async def create_event(
|
|
48
48
|
self,
|
|
49
|
-
|
|
49
|
+
request2: Request2,
|
|
50
50
|
_request_timeout: Union[
|
|
51
51
|
None,
|
|
52
52
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -64,8 +64,8 @@ class PluginEventsApi:
|
|
|
64
64
|
|
|
65
65
|
Create an event
|
|
66
66
|
|
|
67
|
-
:param
|
|
68
|
-
:type
|
|
67
|
+
:param request2: (required)
|
|
68
|
+
:type request2: Request2
|
|
69
69
|
:param _request_timeout: timeout setting for this request. If one
|
|
70
70
|
number provided, it will be total request
|
|
71
71
|
timeout. It can also be a pair (tuple) of
|
|
@@ -89,7 +89,7 @@ class PluginEventsApi:
|
|
|
89
89
|
""" # noqa: E501
|
|
90
90
|
|
|
91
91
|
_param = self._create_event_serialize(
|
|
92
|
-
|
|
92
|
+
request2=request2,
|
|
93
93
|
_request_auth=_request_auth,
|
|
94
94
|
_content_type=_content_type,
|
|
95
95
|
_headers=_headers,
|
|
@@ -114,7 +114,7 @@ class PluginEventsApi:
|
|
|
114
114
|
@validate_call
|
|
115
115
|
async def create_event_with_http_info(
|
|
116
116
|
self,
|
|
117
|
-
|
|
117
|
+
request2: Request2,
|
|
118
118
|
_request_timeout: Union[
|
|
119
119
|
None,
|
|
120
120
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -132,8 +132,8 @@ class PluginEventsApi:
|
|
|
132
132
|
|
|
133
133
|
Create an event
|
|
134
134
|
|
|
135
|
-
:param
|
|
136
|
-
:type
|
|
135
|
+
:param request2: (required)
|
|
136
|
+
:type request2: Request2
|
|
137
137
|
:param _request_timeout: timeout setting for this request. If one
|
|
138
138
|
number provided, it will be total request
|
|
139
139
|
timeout. It can also be a pair (tuple) of
|
|
@@ -157,7 +157,7 @@ class PluginEventsApi:
|
|
|
157
157
|
""" # noqa: E501
|
|
158
158
|
|
|
159
159
|
_param = self._create_event_serialize(
|
|
160
|
-
|
|
160
|
+
request2=request2,
|
|
161
161
|
_request_auth=_request_auth,
|
|
162
162
|
_content_type=_content_type,
|
|
163
163
|
_headers=_headers,
|
|
@@ -182,7 +182,7 @@ class PluginEventsApi:
|
|
|
182
182
|
@validate_call
|
|
183
183
|
async def create_event_without_preload_content(
|
|
184
184
|
self,
|
|
185
|
-
|
|
185
|
+
request2: Request2,
|
|
186
186
|
_request_timeout: Union[
|
|
187
187
|
None,
|
|
188
188
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -200,8 +200,8 @@ class PluginEventsApi:
|
|
|
200
200
|
|
|
201
201
|
Create an event
|
|
202
202
|
|
|
203
|
-
:param
|
|
204
|
-
:type
|
|
203
|
+
:param request2: (required)
|
|
204
|
+
:type request2: Request2
|
|
205
205
|
:param _request_timeout: timeout setting for this request. If one
|
|
206
206
|
number provided, it will be total request
|
|
207
207
|
timeout. It can also be a pair (tuple) of
|
|
@@ -225,7 +225,7 @@ class PluginEventsApi:
|
|
|
225
225
|
""" # noqa: E501
|
|
226
226
|
|
|
227
227
|
_param = self._create_event_serialize(
|
|
228
|
-
|
|
228
|
+
request2=request2,
|
|
229
229
|
_request_auth=_request_auth,
|
|
230
230
|
_content_type=_content_type,
|
|
231
231
|
_headers=_headers,
|
|
@@ -245,7 +245,7 @@ class PluginEventsApi:
|
|
|
245
245
|
|
|
246
246
|
def _create_event_serialize(
|
|
247
247
|
self,
|
|
248
|
-
|
|
248
|
+
request2,
|
|
249
249
|
_request_auth,
|
|
250
250
|
_content_type,
|
|
251
251
|
_headers,
|
|
@@ -269,8 +269,8 @@ class PluginEventsApi:
|
|
|
269
269
|
# process the header parameters
|
|
270
270
|
# process the form parameters
|
|
271
271
|
# process the body parameter
|
|
272
|
-
if
|
|
273
|
-
_body_params =
|
|
272
|
+
if request2 is not None:
|
|
273
|
+
_body_params = request2
|
|
274
274
|
|
|
275
275
|
|
|
276
276
|
# set the HTTP header `Accept`
|
|
@@ -41,7 +41,7 @@ class WebAsyncsMetadataApi:
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
@validate_call
|
|
44
|
-
async def
|
|
44
|
+
async def get1(
|
|
45
45
|
self,
|
|
46
46
|
id: Annotated[StrictStr, Field(description="The Web Async id")],
|
|
47
47
|
_request_timeout: Union[
|
|
@@ -85,7 +85,7 @@ class WebAsyncsMetadataApi:
|
|
|
85
85
|
:return: Returns the result object.
|
|
86
86
|
""" # noqa: E501
|
|
87
87
|
|
|
88
|
-
_param = self.
|
|
88
|
+
_param = self._get1_serialize(
|
|
89
89
|
id=id,
|
|
90
90
|
_request_auth=_request_auth,
|
|
91
91
|
_content_type=_content_type,
|
|
@@ -110,7 +110,7 @@ class WebAsyncsMetadataApi:
|
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
@validate_call
|
|
113
|
-
async def
|
|
113
|
+
async def get1_with_http_info(
|
|
114
114
|
self,
|
|
115
115
|
id: Annotated[StrictStr, Field(description="The Web Async id")],
|
|
116
116
|
_request_timeout: Union[
|
|
@@ -154,7 +154,7 @@ class WebAsyncsMetadataApi:
|
|
|
154
154
|
:return: Returns the result object.
|
|
155
155
|
""" # noqa: E501
|
|
156
156
|
|
|
157
|
-
_param = self.
|
|
157
|
+
_param = self._get1_serialize(
|
|
158
158
|
id=id,
|
|
159
159
|
_request_auth=_request_auth,
|
|
160
160
|
_content_type=_content_type,
|
|
@@ -179,7 +179,7 @@ class WebAsyncsMetadataApi:
|
|
|
179
179
|
|
|
180
180
|
|
|
181
181
|
@validate_call
|
|
182
|
-
async def
|
|
182
|
+
async def get1_without_preload_content(
|
|
183
183
|
self,
|
|
184
184
|
id: Annotated[StrictStr, Field(description="The Web Async id")],
|
|
185
185
|
_request_timeout: Union[
|
|
@@ -223,7 +223,7 @@ class WebAsyncsMetadataApi:
|
|
|
223
223
|
:return: Returns the result object.
|
|
224
224
|
""" # noqa: E501
|
|
225
225
|
|
|
226
|
-
_param = self.
|
|
226
|
+
_param = self._get1_serialize(
|
|
227
227
|
id=id,
|
|
228
228
|
_request_auth=_request_auth,
|
|
229
229
|
_content_type=_content_type,
|
|
@@ -243,7 +243,7 @@ class WebAsyncsMetadataApi:
|
|
|
243
243
|
return response_data.response
|
|
244
244
|
|
|
245
245
|
|
|
246
|
-
def
|
|
246
|
+
def _get1_serialize(
|
|
247
247
|
self,
|
|
248
248
|
id,
|
|
249
249
|
_request_auth,
|
wordlift_client/api_client.py
CHANGED
|
@@ -89,7 +89,7 @@ class ApiClient:
|
|
|
89
89
|
self.default_headers[header_name] = header_value
|
|
90
90
|
self.cookie = cookie
|
|
91
91
|
# Set default User-Agent.
|
|
92
|
-
self.user_agent = 'OpenAPI-Generator/1.
|
|
92
|
+
self.user_agent = 'OpenAPI-Generator/1.110.0/python'
|
|
93
93
|
self.client_side_validation = configuration.client_side_validation
|
|
94
94
|
|
|
95
95
|
async def __aenter__(self):
|
wordlift_client/configuration.py
CHANGED
|
@@ -426,7 +426,7 @@ conf = wordlift_client.Configuration(
|
|
|
426
426
|
"OS: {env}\n"\
|
|
427
427
|
"Python Version: {pyversion}\n"\
|
|
428
428
|
"Version of the API: 1.0\n"\
|
|
429
|
-
"SDK Package Version: 1.
|
|
429
|
+
"SDK Package Version: 1.110.0".\
|
|
430
430
|
format(env=sys.platform, pyversion=sys.version)
|
|
431
431
|
|
|
432
432
|
def get_host_settings(self):
|
wordlift_client/models/entity.py
CHANGED
|
@@ -18,27 +18,19 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field,
|
|
22
|
-
from typing import Any, ClassVar, Dict, List, Optional
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from wordlift_client.models.properties import Properties
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
27
|
class Entity(BaseModel):
|
|
28
28
|
"""
|
|
29
|
-
|
|
29
|
+
The list of entities matching the query.
|
|
30
30
|
""" # noqa: E501
|
|
31
|
-
|
|
32
|
-
confidence: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Confidence score representing the entity match level.")
|
|
33
|
-
main_type: Optional[StrictStr] = Field(default=None, description="The main schema type for the current entity.", alias="mainType")
|
|
34
|
-
types: Optional[List[StrictStr]] = Field(default=None, description="The list of schema types which the entity can be classified to.")
|
|
35
|
-
label: Optional[StrictStr] = Field(default=None, description="The title of the entity.")
|
|
36
|
-
description: Optional[StrictStr] = Field(default=None, description="The description about the entity.")
|
|
37
|
-
images: Optional[List[StrictStr]] = Field(default=None, description="The list of entity image URIs.")
|
|
38
|
-
same_as: Optional[List[StrictStr]] = Field(default=None, description="The list of entity sameas URIs.", alias="sameAs")
|
|
31
|
+
reference: Optional[StrictStr] = Field(default=None, description="The referenced entity URI")
|
|
39
32
|
properties: Optional[Properties] = None
|
|
40
|
-
|
|
41
|
-
__properties: ClassVar[List[str]] = ["entityId", "confidence", "mainType", "types", "label", "description", "images", "sameAs", "properties", "synonyms"]
|
|
33
|
+
__properties: ClassVar[List[str]] = ["reference", "properties"]
|
|
42
34
|
|
|
43
35
|
model_config = ConfigDict(
|
|
44
36
|
populate_by_name=True,
|
|
@@ -94,16 +86,8 @@ class Entity(BaseModel):
|
|
|
94
86
|
return cls.model_validate(obj)
|
|
95
87
|
|
|
96
88
|
_obj = cls.model_validate({
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"mainType": obj.get("mainType"),
|
|
100
|
-
"types": obj.get("types"),
|
|
101
|
-
"label": obj.get("label"),
|
|
102
|
-
"description": obj.get("description"),
|
|
103
|
-
"images": obj.get("images"),
|
|
104
|
-
"sameAs": obj.get("sameAs"),
|
|
105
|
-
"properties": Properties.from_dict(obj["properties"]) if obj.get("properties") is not None else None,
|
|
106
|
-
"synonyms": obj.get("synonyms")
|
|
89
|
+
"reference": obj.get("reference"),
|
|
90
|
+
"properties": Properties.from_dict(obj["properties"]) if obj.get("properties") is not None else None
|
|
107
91
|
})
|
|
108
92
|
return _obj
|
|
109
93
|
|
|
@@ -18,19 +18,27 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
|
-
from typing import Any, ClassVar, Dict, List, Optional
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
23
23
|
from wordlift_client.models.properties1 import Properties1
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
27
|
class Entity1(BaseModel):
|
|
28
28
|
"""
|
|
29
|
-
|
|
29
|
+
Entity
|
|
30
30
|
""" # noqa: E501
|
|
31
|
-
|
|
31
|
+
entity_id: Optional[StrictStr] = Field(default=None, description="The entity URI.", alias="entityId")
|
|
32
|
+
confidence: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Confidence score representing the entity match level.")
|
|
33
|
+
main_type: Optional[StrictStr] = Field(default=None, description="The main schema type for the current entity.", alias="mainType")
|
|
34
|
+
types: Optional[List[StrictStr]] = Field(default=None, description="The list of schema types which the entity can be classified to.")
|
|
35
|
+
label: Optional[StrictStr] = Field(default=None, description="The title of the entity.")
|
|
36
|
+
description: Optional[StrictStr] = Field(default=None, description="The description about the entity.")
|
|
37
|
+
images: Optional[List[StrictStr]] = Field(default=None, description="The list of entity image URIs.")
|
|
38
|
+
same_as: Optional[List[StrictStr]] = Field(default=None, description="The list of entity sameas URIs.", alias="sameAs")
|
|
32
39
|
properties: Optional[Properties1] = None
|
|
33
|
-
|
|
40
|
+
synonyms: Optional[List[StrictStr]] = None
|
|
41
|
+
__properties: ClassVar[List[str]] = ["entityId", "confidence", "mainType", "types", "label", "description", "images", "sameAs", "properties", "synonyms"]
|
|
34
42
|
|
|
35
43
|
model_config = ConfigDict(
|
|
36
44
|
populate_by_name=True,
|
|
@@ -86,8 +94,16 @@ class Entity1(BaseModel):
|
|
|
86
94
|
return cls.model_validate(obj)
|
|
87
95
|
|
|
88
96
|
_obj = cls.model_validate({
|
|
89
|
-
"
|
|
90
|
-
"
|
|
97
|
+
"entityId": obj.get("entityId"),
|
|
98
|
+
"confidence": obj.get("confidence"),
|
|
99
|
+
"mainType": obj.get("mainType"),
|
|
100
|
+
"types": obj.get("types"),
|
|
101
|
+
"label": obj.get("label"),
|
|
102
|
+
"description": obj.get("description"),
|
|
103
|
+
"images": obj.get("images"),
|
|
104
|
+
"sameAs": obj.get("sameAs"),
|
|
105
|
+
"properties": Properties1.from_dict(obj["properties"]) if obj.get("properties") is not None else None,
|
|
106
|
+
"synonyms": obj.get("synonyms")
|
|
91
107
|
})
|
|
92
108
|
return _obj
|
|
93
109
|
|
|
@@ -20,7 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
-
from wordlift_client.models.
|
|
23
|
+
from wordlift_client.models.entity import Entity
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
@@ -29,7 +29,7 @@ class LongtailResponse(BaseModel):
|
|
|
29
29
|
LongtailResponse
|
|
30
30
|
""" # noqa: E501
|
|
31
31
|
summary: Optional[StrictStr] = Field(default=None, description="The page summary.")
|
|
32
|
-
entities: Optional[List[
|
|
32
|
+
entities: Optional[List[Entity]] = Field(default=None, description="The list of entities matching the query.")
|
|
33
33
|
__properties: ClassVar[List[str]] = ["summary", "entities"]
|
|
34
34
|
|
|
35
35
|
model_config = ConfigDict(
|
|
@@ -91,7 +91,7 @@ class LongtailResponse(BaseModel):
|
|
|
91
91
|
|
|
92
92
|
_obj = cls.model_validate({
|
|
93
93
|
"summary": obj.get("summary"),
|
|
94
|
-
"entities": [
|
|
94
|
+
"entities": [Entity.from_dict(_item) for _item in obj["entities"]] if obj.get("entities") is not None else None
|
|
95
95
|
})
|
|
96
96
|
return _obj
|
|
97
97
|
|
|
@@ -18,18 +18,18 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field,
|
|
22
|
-
from typing import Any, ClassVar, Dict, List, Optional
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
25
25
|
|
|
26
26
|
class Properties(BaseModel):
|
|
27
27
|
"""
|
|
28
|
-
|
|
28
|
+
Properties
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
__properties: ClassVar[List[str]] = ["
|
|
30
|
+
name: Optional[StrictStr] = Field(default=None, description="The name of the entity.")
|
|
31
|
+
same_as: Optional[List[StrictStr]] = Field(default=None, description="A list of sameAs entity URIs.", alias="sameAs")
|
|
32
|
+
__properties: ClassVar[List[str]] = ["name", "sameAs"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|
|
35
35
|
populate_by_name=True,
|
|
@@ -82,8 +82,8 @@ class Properties(BaseModel):
|
|
|
82
82
|
return cls.model_validate(obj)
|
|
83
83
|
|
|
84
84
|
_obj = cls.model_validate({
|
|
85
|
-
"
|
|
86
|
-
"
|
|
85
|
+
"name": obj.get("name"),
|
|
86
|
+
"sameAs": obj.get("sameAs")
|
|
87
87
|
})
|
|
88
88
|
return _obj
|
|
89
89
|
|
|
@@ -18,18 +18,18 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field,
|
|
22
|
-
from typing import Any, ClassVar, Dict, List, Optional
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
25
25
|
|
|
26
26
|
class Properties1(BaseModel):
|
|
27
27
|
"""
|
|
28
|
-
|
|
28
|
+
The entity properties.
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
__properties: ClassVar[List[str]] = ["
|
|
30
|
+
latitude: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The latitude.")
|
|
31
|
+
longitude: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The longitude.")
|
|
32
|
+
__properties: ClassVar[List[str]] = ["latitude", "longitude"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|
|
35
35
|
populate_by_name=True,
|
|
@@ -82,8 +82,8 @@ class Properties1(BaseModel):
|
|
|
82
82
|
return cls.model_validate(obj)
|
|
83
83
|
|
|
84
84
|
_obj = cls.model_validate({
|
|
85
|
-
"
|
|
86
|
-
"
|
|
85
|
+
"latitude": obj.get("latitude"),
|
|
86
|
+
"longitude": obj.get("longitude")
|
|
87
87
|
})
|
|
88
88
|
return _obj
|
|
89
89
|
|
|
@@ -20,7 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, StrictInt
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
-
from wordlift_client.models.
|
|
23
|
+
from wordlift_client.models.entity import Entity
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
@@ -29,7 +29,7 @@ class RankEntities(BaseModel):
|
|
|
29
29
|
RankEntities
|
|
30
30
|
""" # noqa: E501
|
|
31
31
|
rank: Optional[StrictInt] = None
|
|
32
|
-
entities: Optional[List[
|
|
32
|
+
entities: Optional[List[Entity]] = None
|
|
33
33
|
__properties: ClassVar[List[str]] = ["rank", "entities"]
|
|
34
34
|
|
|
35
35
|
model_config = ConfigDict(
|
|
@@ -91,7 +91,7 @@ class RankEntities(BaseModel):
|
|
|
91
91
|
|
|
92
92
|
_obj = cls.model_validate({
|
|
93
93
|
"rank": obj.get("rank"),
|
|
94
|
-
"entities": [
|
|
94
|
+
"entities": [Entity.from_dict(_item) for _item in obj["entities"]] if obj.get("entities") is not None else None
|
|
95
95
|
})
|
|
96
96
|
return _obj
|
|
97
97
|
|
|
@@ -18,21 +18,19 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from
|
|
22
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
23
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
24
23
|
from typing import Optional, Set
|
|
25
24
|
from typing_extensions import Self
|
|
26
25
|
|
|
27
26
|
class Request2(BaseModel):
|
|
28
27
|
"""
|
|
29
|
-
|
|
28
|
+
The Event request
|
|
30
29
|
""" # noqa: E501
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
__properties: ClassVar[List[str]] = ["completion", "has_upvote", "is_accepted", "validated_at"]
|
|
30
|
+
source: Optional[StrictStr] = None
|
|
31
|
+
args: Optional[Dict[str, Any]] = None
|
|
32
|
+
url: Optional[StrictStr] = None
|
|
33
|
+
__properties: ClassVar[List[str]] = ["source", "args", "url"]
|
|
36
34
|
|
|
37
35
|
model_config = ConfigDict(
|
|
38
36
|
populate_by_name=True,
|
|
@@ -85,10 +83,9 @@ class Request2(BaseModel):
|
|
|
85
83
|
return cls.model_validate(obj)
|
|
86
84
|
|
|
87
85
|
_obj = cls.model_validate({
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"validated_at": obj.get("validated_at")
|
|
86
|
+
"source": obj.get("source"),
|
|
87
|
+
"args": obj.get("args"),
|
|
88
|
+
"url": obj.get("url")
|
|
92
89
|
})
|
|
93
90
|
return _obj
|
|
94
91
|
|
|
@@ -18,19 +18,21 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from
|
|
21
|
+
from datetime import datetime
|
|
22
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
22
23
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
26
27
|
class Request3(BaseModel):
|
|
27
28
|
"""
|
|
28
|
-
|
|
29
|
+
Request3
|
|
29
30
|
""" # noqa: E501
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
completion: Optional[StrictStr] = None
|
|
32
|
+
has_upvote: StrictBool = Field(description="This indicates whether the user upvoted the completion.")
|
|
33
|
+
is_accepted: StrictBool = Field(description="This indicates whether the completion is accepted by the user.")
|
|
34
|
+
validated_at: Optional[datetime] = Field(default=None, description="Validation time of the record - null to revalidate.")
|
|
35
|
+
__properties: ClassVar[List[str]] = ["completion", "has_upvote", "is_accepted", "validated_at"]
|
|
34
36
|
|
|
35
37
|
model_config = ConfigDict(
|
|
36
38
|
populate_by_name=True,
|
|
@@ -83,9 +85,10 @@ class Request3(BaseModel):
|
|
|
83
85
|
return cls.model_validate(obj)
|
|
84
86
|
|
|
85
87
|
_obj = cls.model_validate({
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
88
|
+
"completion": obj.get("completion"),
|
|
89
|
+
"has_upvote": obj.get("has_upvote"),
|
|
90
|
+
"is_accepted": obj.get("is_accepted"),
|
|
91
|
+
"validated_at": obj.get("validated_at")
|
|
89
92
|
})
|
|
90
93
|
return _obj
|
|
91
94
|
|
|
@@ -21,7 +21,7 @@ import json
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from wordlift_client.models.annotation import Annotation
|
|
24
|
-
from wordlift_client.models.
|
|
24
|
+
from wordlift_client.models.entity1 import Entity1
|
|
25
25
|
from wordlift_client.models.image import Image
|
|
26
26
|
from wordlift_client.models.topic import Topic
|
|
27
27
|
from typing import Optional, Set
|
|
@@ -31,7 +31,7 @@ class Response1(BaseModel):
|
|
|
31
31
|
"""
|
|
32
32
|
Response
|
|
33
33
|
""" # noqa: E501
|
|
34
|
-
entities: Optional[Dict[str,
|
|
34
|
+
entities: Optional[Dict[str, Entity1]] = Field(default=None, description="A map of entity URI to the respective entity.")
|
|
35
35
|
annotations: Optional[Dict[str, Annotation]] = Field(default=None, description="A map of annotation id to the respective annotation.")
|
|
36
36
|
images: Optional[List[Image]] = Field(default=None, description="A list of images.")
|
|
37
37
|
languages: Optional[List[StrictStr]] = Field(default=None, description="A list of languages.")
|
|
@@ -119,7 +119,7 @@ class Response1(BaseModel):
|
|
|
119
119
|
|
|
120
120
|
_obj = cls.model_validate({
|
|
121
121
|
"entities": dict(
|
|
122
|
-
(_k,
|
|
122
|
+
(_k, Entity1.from_dict(_v))
|
|
123
123
|
for _k, _v in obj["entities"].items()
|
|
124
124
|
)
|
|
125
125
|
if obj.get("entities") is not None
|
|
@@ -29,10 +29,11 @@ class WebPageImportRequest(BaseModel):
|
|
|
29
29
|
The Web Page Import request
|
|
30
30
|
""" # noqa: E501
|
|
31
31
|
embedding: Optional[EmbeddingRequest] = None
|
|
32
|
+
id: Optional[StrictStr] = Field(default=None, description="The Web Page id (or iri) in Graph when available.")
|
|
32
33
|
id_generator: Optional[StrictStr] = Field(default='default', description="The entity id generator, by default uses the web page path.")
|
|
33
34
|
output_types: Optional[List[StrictStr]] = Field(default=None, description="The type of the generated entities, by default `http://schema.org/WebPage`.")
|
|
34
35
|
url: StrictStr = Field(description="The Web Page url to import")
|
|
35
|
-
__properties: ClassVar[List[str]] = ["embedding", "id_generator", "output_types", "url"]
|
|
36
|
+
__properties: ClassVar[List[str]] = ["embedding", "id", "id_generator", "output_types", "url"]
|
|
36
37
|
|
|
37
38
|
@field_validator('id_generator')
|
|
38
39
|
def id_generator_validate_enum(cls, value):
|
|
@@ -99,6 +100,7 @@ class WebPageImportRequest(BaseModel):
|
|
|
99
100
|
|
|
100
101
|
_obj = cls.model_validate({
|
|
101
102
|
"embedding": EmbeddingRequest.from_dict(obj["embedding"]) if obj.get("embedding") is not None else None,
|
|
103
|
+
"id": obj.get("id"),
|
|
102
104
|
"id_generator": obj.get("id_generator") if obj.get("id_generator") is not None else 'default',
|
|
103
105
|
"output_types": obj.get("output_types"),
|
|
104
106
|
"url": obj.get("url")
|
|
@@ -18,7 +18,7 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List
|
|
23
23
|
from wordlift_client.models.web_page import WebPage
|
|
24
24
|
from typing import Optional, Set
|
|
@@ -28,9 +28,10 @@ class WebPageImportResponse(BaseModel):
|
|
|
28
28
|
"""
|
|
29
29
|
Web Page Import Response
|
|
30
30
|
""" # noqa: E501
|
|
31
|
+
id: StrictStr = Field(description="The id/iri of the web page in the Graph.")
|
|
31
32
|
model: StrictStr
|
|
32
33
|
web_page: WebPage
|
|
33
|
-
__properties: ClassVar[List[str]] = ["model", "web_page"]
|
|
34
|
+
__properties: ClassVar[List[str]] = ["id", "model", "web_page"]
|
|
34
35
|
|
|
35
36
|
model_config = ConfigDict(
|
|
36
37
|
populate_by_name=True,
|
|
@@ -86,6 +87,7 @@ class WebPageImportResponse(BaseModel):
|
|
|
86
87
|
return cls.model_validate(obj)
|
|
87
88
|
|
|
88
89
|
_obj = cls.model_validate({
|
|
90
|
+
"id": obj.get("id"),
|
|
89
91
|
"model": obj.get("model"),
|
|
90
92
|
"web_page": WebPage.from_dict(obj["web_page"]) if obj.get("web_page") is not None else None
|
|
91
93
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
wordlift_client/__init__.py,sha256=
|
|
2
|
-
wordlift_client/api_client.py,sha256=
|
|
1
|
+
wordlift_client/__init__.py,sha256=Ha8ErVb4uFj4qqCVi2HVaMsVkzzM3KKwQzhOqC0GVNE,18735
|
|
2
|
+
wordlift_client/api_client.py,sha256=lIU8xinqvNtDefOEcQJZF_qyNhVPZbRSoJc6gdsSWUw,26397
|
|
3
3
|
wordlift_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
wordlift_client/configuration.py,sha256=
|
|
4
|
+
wordlift_client/configuration.py,sha256=UN6a2tH9HwXGYvQEgVzqWX2Glfnp7Ud8fp4o1Wsn4kA,15932
|
|
5
5
|
wordlift_client/exceptions.py,sha256=KvTu-E964XhAzMXOSfVycfOL1Eeraob5bgD4CfElD7M,5912
|
|
6
6
|
wordlift_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
wordlift_client/rest.py,sha256=3D4hicZkeSFLxmhmgnlH63K7P39ToGyPk_3aQlHGznI,6817
|
|
@@ -16,7 +16,7 @@ wordlift_client/api/analyses_api.py,sha256=-apdKkNMHjeL43DcLVWJiCbl2vSNAaWrMQKZI
|
|
|
16
16
|
wordlift_client/api/analytics_imports_api.py,sha256=3H2K6QLm7gFck67KCnIXLrKbxsKwjteNgTHD1utDE3s,11969
|
|
17
17
|
wordlift_client/api/analytics_syncs_api.py,sha256=yblLuk2iz9zjqT8rRkmVb7C1rPPxmOcLFnuMpSqq3-Q,22587
|
|
18
18
|
wordlift_client/api/authors_api.py,sha256=YlGTulVByNBPIAeeLc9nBL3V_INiaoRjXFshfIagNYk,11447
|
|
19
|
-
wordlift_client/api/autocomplete_api.py,sha256=
|
|
19
|
+
wordlift_client/api/autocomplete_api.py,sha256=lETxHE0dkkV5fPiJUZLF9U1MsyNEmU08x0P-9r6obwI,14324
|
|
20
20
|
wordlift_client/api/botify_crawl_imports_api.py,sha256=oMRuZBN9xL-LRrvBdqk1JGPjgLLycLZFJ8CWD4Aq5qc,11821
|
|
21
21
|
wordlift_client/api/classifications_api.py,sha256=fL1hvz3-mw_Qz7Ik7UR5mZziNUVIqF0j-Pz7PEr2_y4,13687
|
|
22
22
|
wordlift_client/api/content_evaluations_api.py,sha256=gY77JPkiT0x6COgP9ed5IypvSUYRTfOagwCQpVZb3Es,12105
|
|
@@ -25,15 +25,15 @@ wordlift_client/api/content_generation_completion_api.py,sha256=GL_4rNcsMmJWPXb-
|
|
|
25
25
|
wordlift_client/api/content_generation_fields_api.py,sha256=UXoNJOe2w6ZYY9Gq50idMet9pPQ-sTqtwjzB5qBsXSg,22795
|
|
26
26
|
wordlift_client/api/content_generation_models_api.py,sha256=9iCesCG0ER4RvxLt8dbigp1sfOJiD-8STdiOJtnvX5M,11580
|
|
27
27
|
wordlift_client/api/content_generation_presets_api.py,sha256=4joeSIw0rH8SD4v5eoFJfqOv8KcI1UwHWydN3DFRoQs,11610
|
|
28
|
-
wordlift_client/api/content_generation_records_api.py,sha256=
|
|
28
|
+
wordlift_client/api/content_generation_records_api.py,sha256=osWm9Sxmp8Gsd9FyF--8zi7Zgqflbgef3oHp2J4_uiE,69584
|
|
29
29
|
wordlift_client/api/content_generation_records_export_api.py,sha256=8MBJJQu6dMzNp9zF4Qq9_dG5EcV5LP8JNDFyF0LezPY,11042
|
|
30
30
|
wordlift_client/api/content_generation_renders_api.py,sha256=fgAfCPrQEqH-lRcmHKXzHSUTih9taY4UGSRCFIdhGWQ,22482
|
|
31
|
-
wordlift_client/api/content_generation_stats_api.py,sha256=
|
|
31
|
+
wordlift_client/api/content_generation_stats_api.py,sha256=GosCyzmSAVixt-nU2D8IXq7qndTpbGjosIHOyZbHBPQ,11276
|
|
32
32
|
wordlift_client/api/content_generation_syncs_api.py,sha256=LpEScXGKphVK6NlqTP4mG6FSM95LtAGW3F7Cv1M_q6o,10903
|
|
33
33
|
wordlift_client/api/content_generation_word_biases_api.py,sha256=CXG9nRJOZ1oid00-O95o-POVfx6L_wRWvj9m4hj4EAw,69338
|
|
34
34
|
wordlift_client/api/content_generations_api.py,sha256=kGWaT5YqqQevaFP-RHvceewI1MhvZXp3k5W1FhKvzAE,64419
|
|
35
35
|
wordlift_client/api/custom_domains_api.py,sha256=LuKLllZaBA9k7W3SBRP4gKDLoF3liCpgffnCdUjZvZ4,11736
|
|
36
|
-
wordlift_client/api/data_uri_api.py,sha256=
|
|
36
|
+
wordlift_client/api/data_uri_api.py,sha256=HZaFah-gdENyU79a89Sz3c5p1BlfOsSD2r-j8p7rC2o,10860
|
|
37
37
|
wordlift_client/api/dataset_api.py,sha256=1HI7Ssmvx5mFLZa_Xldq944GdgLiTF7mY7pU6mbfjj8,42369
|
|
38
38
|
wordlift_client/api/default_api.py,sha256=yxtYQghfU_e_UAB5crSS1YTqV725mtlsv2QSKz2VIg4,11335
|
|
39
39
|
wordlift_client/api/embedding_api.py,sha256=Sigezg2srkeVYFXE7dP9gZXx5lZ1k9W0VbZFfxO5iOs,11667
|
|
@@ -60,7 +60,7 @@ wordlift_client/api/o_auth2_authorized_clients_api.py,sha256=tFMfXQyTHWLakkbsZay
|
|
|
60
60
|
wordlift_client/api/platform_consumptions_api.py,sha256=yGNeqNtAm6iiaj2DSUIJ_NcIdIEjvgSHIzGHzcm2urA,23599
|
|
61
61
|
wordlift_client/api/platform_limits_api.py,sha256=TpcTfw04rEYGctHe5rMNzdV0HRDN1JeNkh78WyjqEOI,55869
|
|
62
62
|
wordlift_client/api/plugin_diagnostics_api.py,sha256=qB3JbZSYIKPIcwVOYWD8EsBflldHkaTGkXw9q72A59g,12536
|
|
63
|
-
wordlift_client/api/plugin_events_api.py,sha256=
|
|
63
|
+
wordlift_client/api/plugin_events_api.py,sha256=9AcXcai78dpseWIcfSHDU6s5XQa2G27GsJEASTKvAqM,25896
|
|
64
64
|
wordlift_client/api/questions_and_answers_api.py,sha256=OME5ucn7_fwj5vHBJgbXC64US58uE-kNDK46pzz5Y8A,75218
|
|
65
65
|
wordlift_client/api/redeem_codes_api.py,sha256=CFw8q6iQi7jrnf3RmR-RCoWseCeJZ9mJAuqCK1RxyHg,11429
|
|
66
66
|
wordlift_client/api/rules_api.py,sha256=6ESuYM5gHzdzIs1LO69CcnODUXRqnloiHLB6TaGio-M,68256
|
|
@@ -74,7 +74,7 @@ wordlift_client/api/tokens_api.py,sha256=4jMeBMhi8RMFuoeWQlTqXkNLCABvwfV5rzjt25e
|
|
|
74
74
|
wordlift_client/api/vector_search_nodes_api.py,sha256=nMo4inpx6N2xn7_ZLlPVFH861zHjqVAgZ3xPX7L3Mow,11171
|
|
75
75
|
wordlift_client/api/vector_search_queries_api.py,sha256=_KVcphjWH-dbI0YaJ4fizT0BbA3q2a0Ro3ts5425hb4,11817
|
|
76
76
|
wordlift_client/api/vector_search_questions_api.py,sha256=XDvyi6y6mRv7nrKnse6XH6V6q7n3FBoX51qzUSDh4WQ,12050
|
|
77
|
-
wordlift_client/api/web_asyncs_metadata_api.py,sha256=
|
|
77
|
+
wordlift_client/api/web_asyncs_metadata_api.py,sha256=RElR5jll_Mb7gaAoyHN9JbIVJGMjFkZ7ZV6qowJJJcg,20004
|
|
78
78
|
wordlift_client/api/web_asyncs_responses_api.py,sha256=h91xI3iIgGoMUcZ7Oft5xiLy0rHh_2qzZDrFTRz3P8w,10889
|
|
79
79
|
wordlift_client/api/web_pages_api.py,sha256=VKPLIaQRxxDn3daP0zvXRiHj2eegsZIjxUmHKzxZXoc,10839
|
|
80
80
|
wordlift_client/api/web_pages_imports_api.py,sha256=yPhNLZ1jV2dEDnYuHb7OpiFH3K2ROrRYHG4ZrAf4VMU,11719
|
|
@@ -132,8 +132,8 @@ wordlift_client/models/diagnostic_plugin_request.py,sha256=3PyfOenoFYHTHE8BxWuxE
|
|
|
132
132
|
wordlift_client/models/domain_validation_request.py,sha256=QuwI43904xfAE732CvM_YpsXqWiia2YMAIp-2t8lIUY,2719
|
|
133
133
|
wordlift_client/models/duplicate_authorization_request.py,sha256=1iTS2UDo361DVJQA7WzYrCQzIYKAhjMX4fkykX41TcA,2635
|
|
134
134
|
wordlift_client/models/embedding_request.py,sha256=INYDivuXiSp6NCrCEkOgfVDny9xU8FkgIVv9FLZvFbI,2846
|
|
135
|
-
wordlift_client/models/entity.py,sha256=
|
|
136
|
-
wordlift_client/models/entity1.py,sha256=
|
|
135
|
+
wordlift_client/models/entity.py,sha256=l2FOIjCglinnmwoyncfjVFYzQChFXMrPluXW8vApJm0,2930
|
|
136
|
+
wordlift_client/models/entity1.py,sha256=_pSO-7X226Yl4xuDComx6svvWwOG1AwAhQtj2L1HP0A,4278
|
|
137
137
|
wordlift_client/models/entity_gap_request.py,sha256=3fLHOgNw2hH-oUjAvZ-pXh4D0ZQL4kpoyBfOSe25gEo,3633
|
|
138
138
|
wordlift_client/models/entity_match.py,sha256=85AQijb-srqDP9n-L1if13_n6Uej7VW6ihHzxLY0pzI,2744
|
|
139
139
|
wordlift_client/models/entity_patch_request.py,sha256=OQIXtQ76_i-iJSnN0dn8CxukuHzy7UoH7nv4LwNaE5I,3292
|
|
@@ -163,7 +163,7 @@ wordlift_client/models/item.py,sha256=MvFFi8thULENZd9sbzTYlZH2bwqCGxwXJp4YJqtQvF
|
|
|
163
163
|
wordlift_client/models/kg_embedding_request.py,sha256=g9aBAWm1_IDruTUi6--350jfCyl0-GmAkE4PaJ3u56o,2603
|
|
164
164
|
wordlift_client/models/level_enum.py,sha256=0SRm7XXcgWCxcbrVHFi7GoFdmpla38Fl3RXIXH8_YVk,700
|
|
165
165
|
wordlift_client/models/location_inner.py,sha256=Y_RHc_JGr4sWRHqSJgyFvoiWU8HCLbmtpQEjBAkk70c,4765
|
|
166
|
-
wordlift_client/models/longtail_response.py,sha256=
|
|
166
|
+
wordlift_client/models/longtail_response.py,sha256=MOJRLQ14lB2Zjl5Df4W0I-WVBwnmwnHx3eLk4fdxOy4,3124
|
|
167
167
|
wordlift_client/models/merchant.py,sha256=vMnqcLyinefzFA2ebt9NpSEBjrHQGy8DWvxLcsVBZaE,7396
|
|
168
168
|
wordlift_client/models/merchant_entry.py,sha256=e8nRIDNb9CHwX1nvTN50aJEWX8RnNeKeRWhwufL4S_8,2727
|
|
169
169
|
wordlift_client/models/merchant_request.py,sha256=QGDRo2iCNy3dhmQj8kF_zWZSUwDx8o0IclcXNQdTkgk,5519
|
|
@@ -201,19 +201,19 @@ wordlift_client/models/platform_limit_request.py,sha256=GlLwW9h9CcAvWBA2uj2_5hOX
|
|
|
201
201
|
wordlift_client/models/preset.py,sha256=M7h8a7r5-mR-89_xo-XLl5Hv1Oq6YzKR3hUnJWz6aWk,2666
|
|
202
202
|
wordlift_client/models/problem_detail.py,sha256=4_7xA64rpygLnTPtKyCYLeOcjBKs0GIDXzFAAOtc4WE,2932
|
|
203
203
|
wordlift_client/models/project_type.py,sha256=nUZ2YFzVSArByM6HMCzVdR7GH2cab22RcwhD5ROPqPM,745
|
|
204
|
-
wordlift_client/models/properties.py,sha256=
|
|
205
|
-
wordlift_client/models/properties1.py,sha256=
|
|
204
|
+
wordlift_client/models/properties.py,sha256=MiXOK8WyyBI_n-SCFq0ZFzyiNesx3IRud9FHculCk4g,2657
|
|
205
|
+
wordlift_client/models/properties1.py,sha256=bcVIqb9yCa3bLztYT3Z8hwcTbNhz_FuBvzwnES6s05s,2712
|
|
206
206
|
wordlift_client/models/question_and_answer.py,sha256=y2-ZyG-KKlRQZzG-u8GX2QB_w8FiWKS24x5ngbJOQMs,5655
|
|
207
207
|
wordlift_client/models/question_and_answer_request.py,sha256=yPMv-dFIkCkyMD0mwfYujvecVo0TAhEVy6gkHKOCwzc,3111
|
|
208
|
-
wordlift_client/models/rank_entities.py,sha256=
|
|
208
|
+
wordlift_client/models/rank_entities.py,sha256=bxUpRZh9h2_9xA6uDGDy_27aqntjdzG-IDFp16F7pww,2970
|
|
209
209
|
wordlift_client/models/record.py,sha256=2OG3oruT9T6tPb7SVf96PWLOm3Z4kO-p7TrOSKSJ42c,7299
|
|
210
210
|
wordlift_client/models/render_request.py,sha256=wec9Td1ZTqrHG4F1y7eJvM2q2MDnHfHYNi5FbzEGaH4,2754
|
|
211
211
|
wordlift_client/models/request.py,sha256=yMOmSi88nwpR05Go9MEat15rcA2wnPyd2Q5_Bh23uZw,2439
|
|
212
212
|
wordlift_client/models/request1.py,sha256=_Iky7y3pcQ4C3x0X1GK_6bgiX9vbdzJfEu9Ud9Mj9Do,4644
|
|
213
|
-
wordlift_client/models/request2.py,sha256=
|
|
214
|
-
wordlift_client/models/request3.py,sha256=
|
|
213
|
+
wordlift_client/models/request2.py,sha256=1KSnR4ThcfpCEHNF4Q14haIEY7atlrPPjepb9kVk6yM,2597
|
|
214
|
+
wordlift_client/models/request3.py,sha256=RmmARH4BYbV3uSWD0UAfd0yy8ek905ZBoB4udnb3QHg,3032
|
|
215
215
|
wordlift_client/models/response.py,sha256=AUBiSIKM7DAhypo9nhTN1eGzDkAgX4LqXqFWPc9v-iI,2411
|
|
216
|
-
wordlift_client/models/response1.py,sha256=
|
|
216
|
+
wordlift_client/models/response1.py,sha256=9Zt_eU0HITXo-m__BjMxPClcdx2eoiIThLh3K4X0AgA,5346
|
|
217
217
|
wordlift_client/models/response2.py,sha256=xQQe2F-sWhkvn0_FY1ST0BxRE2CnH4q2WdJQRrU2mpk,3299
|
|
218
218
|
wordlift_client/models/rule.py,sha256=23YiNYJrMuFG4FYjBtDHmlS1H_zLFIb190Y7wTY_WQU,5679
|
|
219
219
|
wordlift_client/models/rule_request.py,sha256=LlSs39bL6JG00IFNrhX0NyVe7VsW5nE8p1Lvo0HZ_bI,5186
|
|
@@ -243,8 +243,8 @@ wordlift_client/models/vector_search_question_request.py,sha256=QDB9vhLSPak60dJa
|
|
|
243
243
|
wordlift_client/models/vector_search_question_response_item.py,sha256=5QHi3pKqygu7rtnVe0kocpi1txpfUk3A5Up32CpsDUw,2605
|
|
244
244
|
wordlift_client/models/web_async.py,sha256=FGUyO30Ad5aaSZCNGlfa9QSese6kMKGIycZrO8hrznA,3162
|
|
245
245
|
wordlift_client/models/web_page.py,sha256=PqCZtUlpg0-GWYyPlFzSl02LQXoqY8RNpATnn6NaGKg,3196
|
|
246
|
-
wordlift_client/models/web_page_import_request.py,sha256=
|
|
247
|
-
wordlift_client/models/web_page_import_response.py,sha256=
|
|
246
|
+
wordlift_client/models/web_page_import_request.py,sha256=FA1DHrhqXPVUy3W4cVFGsZ1YIB3pBpdkMZ1Wr4xPCw0,3945
|
|
247
|
+
wordlift_client/models/web_page_import_response.py,sha256=QtfeCarnH3--yntOxA2RuKWsZgKMiOea7oOTU3Awvgw,2935
|
|
248
248
|
wordlift_client/models/webpage_properties.py,sha256=OFKuE3fd881U37yBAcfCc9ZJnlIVd0Y-V5cNguqzMj0,2664
|
|
249
249
|
wordlift_client/models/website.py,sha256=SWK6iGit88xYzxM8h7eaf5YK4czzXmyMFpZo5lsBUTc,2478
|
|
250
250
|
wordlift_client/models/website_search.py,sha256=T6Ccf5VN1LekJW6WnMS7IUydpcpZgmifL2myjEaGl6o,3408
|
|
@@ -255,8 +255,8 @@ wordlift_client/models/with_limits.py,sha256=9I6-JNIb8pgUfVUegNqTc3YNx0micXUTpDo
|
|
|
255
255
|
wordlift_client/models/word.py,sha256=FPCGb6ohwdfydE5_qG4PT-UrnMzaTktAWqEEnezwaso,3922
|
|
256
256
|
wordlift_client/models/word_repetition_data.py,sha256=CQnxCnhakt12czl6a_AQIPgHlJtvR9YGBIjGV22rq14,2659
|
|
257
257
|
wordlift_client/models/word_request.py,sha256=ZD13xNRYCZmF14jxEDrRRyEMAd-quDT-HsqkbUP_xWU,2627
|
|
258
|
-
wordlift_client-1.
|
|
259
|
-
wordlift_client-1.
|
|
260
|
-
wordlift_client-1.
|
|
261
|
-
wordlift_client-1.
|
|
262
|
-
wordlift_client-1.
|
|
258
|
+
wordlift_client-1.110.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
259
|
+
wordlift_client-1.110.0.dist-info/METADATA,sha256=IdDtJ4Cnv-URHHvOIjNdQlTwKaILMSdvg92SNQu0Ufk,530
|
|
260
|
+
wordlift_client-1.110.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
261
|
+
wordlift_client-1.110.0.dist-info/top_level.txt,sha256=p7KFYU869ksxkpP7ADvg8baPgWkTYCzcOpDl1qrJdHk,16
|
|
262
|
+
wordlift_client-1.110.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|