wordlift-client 1.123.0__py3-none-any.whl → 1.124.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 +2 -1
- wordlift_client/api/google_search_console_api.py +275 -0
- wordlift_client/api_client.py +1 -1
- wordlift_client/configuration.py +1 -1
- wordlift_client/models/__init__.py +1 -0
- wordlift_client/models/account_stats.py +3 -1
- wordlift_client/models/create_url_inspection_request.py +88 -0
- {wordlift_client-1.123.0.dist-info → wordlift_client-1.124.0.dist-info}/METADATA +1 -1
- {wordlift_client-1.123.0.dist-info → wordlift_client-1.124.0.dist-info}/RECORD +12 -11
- {wordlift_client-1.123.0.dist-info → wordlift_client-1.124.0.dist-info}/LICENSE +0 -0
- {wordlift_client-1.123.0.dist-info → wordlift_client-1.124.0.dist-info}/WHEEL +0 -0
- {wordlift_client-1.123.0.dist-info → wordlift_client-1.124.0.dist-info}/top_level.txt +0 -0
wordlift_client/__init__.py
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
""" # noqa: E501
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
__version__ = "1.
|
|
18
|
+
__version__ = "1.124.0"
|
|
19
19
|
|
|
20
20
|
# import apis into sdk package
|
|
21
21
|
from wordlift_client.api.account_api import AccountApi
|
|
@@ -154,6 +154,7 @@ from wordlift_client.models.content_structure import ContentStructure
|
|
|
154
154
|
from wordlift_client.models.create_embeddings_input import CreateEmbeddingsInput
|
|
155
155
|
from wordlift_client.models.create_seo_score200_response import CreateSEOScore200Response
|
|
156
156
|
from wordlift_client.models.create_seo_score_request import CreateSEOScoreRequest
|
|
157
|
+
from wordlift_client.models.create_url_inspection_request import CreateUrlInspectionRequest
|
|
157
158
|
from wordlift_client.models.diagnostic_plugin import DiagnosticPlugin
|
|
158
159
|
from wordlift_client.models.diagnostic_plugin_request import DiagnosticPluginRequest
|
|
159
160
|
from wordlift_client.models.domain_validation_request import DomainValidationRequest
|
|
@@ -20,6 +20,7 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictInt, StrictStr
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from wordlift_client.models.create_url_inspection_request import CreateUrlInspectionRequest
|
|
23
24
|
from wordlift_client.models.page_website import PageWebsite
|
|
24
25
|
from wordlift_client.models.page_website_search import PageWebsiteSearch
|
|
25
26
|
|
|
@@ -41,6 +42,280 @@ class GoogleSearchConsoleApi:
|
|
|
41
42
|
self.api_client = api_client
|
|
42
43
|
|
|
43
44
|
|
|
45
|
+
@validate_call
|
|
46
|
+
async def create_url_inspection(
|
|
47
|
+
self,
|
|
48
|
+
create_url_inspection_request: CreateUrlInspectionRequest,
|
|
49
|
+
_request_timeout: Union[
|
|
50
|
+
None,
|
|
51
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
52
|
+
Tuple[
|
|
53
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
54
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
55
|
+
]
|
|
56
|
+
] = None,
|
|
57
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
58
|
+
_content_type: Optional[StrictStr] = None,
|
|
59
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
60
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
61
|
+
) -> str:
|
|
62
|
+
"""Create
|
|
63
|
+
|
|
64
|
+
Inspect a URL using the Google Search Console connected to the authenticated account.
|
|
65
|
+
|
|
66
|
+
:param create_url_inspection_request: (required)
|
|
67
|
+
:type create_url_inspection_request: CreateUrlInspectionRequest
|
|
68
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
69
|
+
number provided, it will be total request
|
|
70
|
+
timeout. It can also be a pair (tuple) of
|
|
71
|
+
(connection, read) timeouts.
|
|
72
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
73
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
74
|
+
request; this effectively ignores the
|
|
75
|
+
authentication in the spec for a single request.
|
|
76
|
+
:type _request_auth: dict, optional
|
|
77
|
+
:param _content_type: force content-type for the request.
|
|
78
|
+
:type _content_type: str, Optional
|
|
79
|
+
:param _headers: set to override the headers for a single
|
|
80
|
+
request; this effectively ignores the headers
|
|
81
|
+
in the spec for a single request.
|
|
82
|
+
:type _headers: dict, optional
|
|
83
|
+
:param _host_index: set to override the host_index for a single
|
|
84
|
+
request; this effectively ignores the host_index
|
|
85
|
+
in the spec for a single request.
|
|
86
|
+
:type _host_index: int, optional
|
|
87
|
+
:return: Returns the result object.
|
|
88
|
+
""" # noqa: E501
|
|
89
|
+
|
|
90
|
+
_param = self._create_url_inspection_serialize(
|
|
91
|
+
create_url_inspection_request=create_url_inspection_request,
|
|
92
|
+
_request_auth=_request_auth,
|
|
93
|
+
_content_type=_content_type,
|
|
94
|
+
_headers=_headers,
|
|
95
|
+
_host_index=_host_index
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
99
|
+
'200': "str",
|
|
100
|
+
'301': None,
|
|
101
|
+
}
|
|
102
|
+
response_data = await self.api_client.call_api(
|
|
103
|
+
*_param,
|
|
104
|
+
_request_timeout=_request_timeout
|
|
105
|
+
)
|
|
106
|
+
await response_data.read()
|
|
107
|
+
return self.api_client.response_deserialize(
|
|
108
|
+
response_data=response_data,
|
|
109
|
+
response_types_map=_response_types_map,
|
|
110
|
+
).data
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
@validate_call
|
|
114
|
+
async def create_url_inspection_with_http_info(
|
|
115
|
+
self,
|
|
116
|
+
create_url_inspection_request: CreateUrlInspectionRequest,
|
|
117
|
+
_request_timeout: Union[
|
|
118
|
+
None,
|
|
119
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
120
|
+
Tuple[
|
|
121
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
122
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
123
|
+
]
|
|
124
|
+
] = None,
|
|
125
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
126
|
+
_content_type: Optional[StrictStr] = None,
|
|
127
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
128
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
129
|
+
) -> ApiResponse[str]:
|
|
130
|
+
"""Create
|
|
131
|
+
|
|
132
|
+
Inspect a URL using the Google Search Console connected to the authenticated account.
|
|
133
|
+
|
|
134
|
+
:param create_url_inspection_request: (required)
|
|
135
|
+
:type create_url_inspection_request: CreateUrlInspectionRequest
|
|
136
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
137
|
+
number provided, it will be total request
|
|
138
|
+
timeout. It can also be a pair (tuple) of
|
|
139
|
+
(connection, read) timeouts.
|
|
140
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
141
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
142
|
+
request; this effectively ignores the
|
|
143
|
+
authentication in the spec for a single request.
|
|
144
|
+
:type _request_auth: dict, optional
|
|
145
|
+
:param _content_type: force content-type for the request.
|
|
146
|
+
:type _content_type: str, Optional
|
|
147
|
+
:param _headers: set to override the headers for a single
|
|
148
|
+
request; this effectively ignores the headers
|
|
149
|
+
in the spec for a single request.
|
|
150
|
+
:type _headers: dict, optional
|
|
151
|
+
:param _host_index: set to override the host_index for a single
|
|
152
|
+
request; this effectively ignores the host_index
|
|
153
|
+
in the spec for a single request.
|
|
154
|
+
:type _host_index: int, optional
|
|
155
|
+
:return: Returns the result object.
|
|
156
|
+
""" # noqa: E501
|
|
157
|
+
|
|
158
|
+
_param = self._create_url_inspection_serialize(
|
|
159
|
+
create_url_inspection_request=create_url_inspection_request,
|
|
160
|
+
_request_auth=_request_auth,
|
|
161
|
+
_content_type=_content_type,
|
|
162
|
+
_headers=_headers,
|
|
163
|
+
_host_index=_host_index
|
|
164
|
+
)
|
|
165
|
+
|
|
166
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
167
|
+
'200': "str",
|
|
168
|
+
'301': None,
|
|
169
|
+
}
|
|
170
|
+
response_data = await self.api_client.call_api(
|
|
171
|
+
*_param,
|
|
172
|
+
_request_timeout=_request_timeout
|
|
173
|
+
)
|
|
174
|
+
await response_data.read()
|
|
175
|
+
return self.api_client.response_deserialize(
|
|
176
|
+
response_data=response_data,
|
|
177
|
+
response_types_map=_response_types_map,
|
|
178
|
+
)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
@validate_call
|
|
182
|
+
async def create_url_inspection_without_preload_content(
|
|
183
|
+
self,
|
|
184
|
+
create_url_inspection_request: CreateUrlInspectionRequest,
|
|
185
|
+
_request_timeout: Union[
|
|
186
|
+
None,
|
|
187
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
188
|
+
Tuple[
|
|
189
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
190
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
191
|
+
]
|
|
192
|
+
] = None,
|
|
193
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
194
|
+
_content_type: Optional[StrictStr] = None,
|
|
195
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
196
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
197
|
+
) -> RESTResponseType:
|
|
198
|
+
"""Create
|
|
199
|
+
|
|
200
|
+
Inspect a URL using the Google Search Console connected to the authenticated account.
|
|
201
|
+
|
|
202
|
+
:param create_url_inspection_request: (required)
|
|
203
|
+
:type create_url_inspection_request: CreateUrlInspectionRequest
|
|
204
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
205
|
+
number provided, it will be total request
|
|
206
|
+
timeout. It can also be a pair (tuple) of
|
|
207
|
+
(connection, read) timeouts.
|
|
208
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
209
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
210
|
+
request; this effectively ignores the
|
|
211
|
+
authentication in the spec for a single request.
|
|
212
|
+
:type _request_auth: dict, optional
|
|
213
|
+
:param _content_type: force content-type for the request.
|
|
214
|
+
:type _content_type: str, Optional
|
|
215
|
+
:param _headers: set to override the headers for a single
|
|
216
|
+
request; this effectively ignores the headers
|
|
217
|
+
in the spec for a single request.
|
|
218
|
+
:type _headers: dict, optional
|
|
219
|
+
:param _host_index: set to override the host_index for a single
|
|
220
|
+
request; this effectively ignores the host_index
|
|
221
|
+
in the spec for a single request.
|
|
222
|
+
:type _host_index: int, optional
|
|
223
|
+
:return: Returns the result object.
|
|
224
|
+
""" # noqa: E501
|
|
225
|
+
|
|
226
|
+
_param = self._create_url_inspection_serialize(
|
|
227
|
+
create_url_inspection_request=create_url_inspection_request,
|
|
228
|
+
_request_auth=_request_auth,
|
|
229
|
+
_content_type=_content_type,
|
|
230
|
+
_headers=_headers,
|
|
231
|
+
_host_index=_host_index
|
|
232
|
+
)
|
|
233
|
+
|
|
234
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
235
|
+
'200': "str",
|
|
236
|
+
'301': None,
|
|
237
|
+
}
|
|
238
|
+
response_data = await self.api_client.call_api(
|
|
239
|
+
*_param,
|
|
240
|
+
_request_timeout=_request_timeout
|
|
241
|
+
)
|
|
242
|
+
return response_data.response
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
def _create_url_inspection_serialize(
|
|
246
|
+
self,
|
|
247
|
+
create_url_inspection_request,
|
|
248
|
+
_request_auth,
|
|
249
|
+
_content_type,
|
|
250
|
+
_headers,
|
|
251
|
+
_host_index,
|
|
252
|
+
) -> RequestSerialized:
|
|
253
|
+
|
|
254
|
+
_host = None
|
|
255
|
+
|
|
256
|
+
_collection_formats: Dict[str, str] = {
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
_path_params: Dict[str, str] = {}
|
|
260
|
+
_query_params: List[Tuple[str, str]] = []
|
|
261
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
262
|
+
_form_params: List[Tuple[str, str]] = []
|
|
263
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
264
|
+
_body_params: Optional[bytes] = None
|
|
265
|
+
|
|
266
|
+
# process the path parameters
|
|
267
|
+
# process the query parameters
|
|
268
|
+
# process the header parameters
|
|
269
|
+
# process the form parameters
|
|
270
|
+
# process the body parameter
|
|
271
|
+
if create_url_inspection_request is not None:
|
|
272
|
+
_body_params = create_url_inspection_request
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
# set the HTTP header `Accept`
|
|
276
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
277
|
+
[
|
|
278
|
+
'application/json'
|
|
279
|
+
]
|
|
280
|
+
)
|
|
281
|
+
|
|
282
|
+
# set the HTTP header `Content-Type`
|
|
283
|
+
if _content_type:
|
|
284
|
+
_header_params['Content-Type'] = _content_type
|
|
285
|
+
else:
|
|
286
|
+
_default_content_type = (
|
|
287
|
+
self.api_client.select_header_content_type(
|
|
288
|
+
[
|
|
289
|
+
'application/json'
|
|
290
|
+
]
|
|
291
|
+
)
|
|
292
|
+
)
|
|
293
|
+
if _default_content_type is not None:
|
|
294
|
+
_header_params['Content-Type'] = _default_content_type
|
|
295
|
+
|
|
296
|
+
# authentication setting
|
|
297
|
+
_auth_settings: List[str] = [
|
|
298
|
+
'ApiKey'
|
|
299
|
+
]
|
|
300
|
+
|
|
301
|
+
return self.api_client.param_serialize(
|
|
302
|
+
method='POST',
|
|
303
|
+
resource_path='/gsc/url-inspections',
|
|
304
|
+
path_params=_path_params,
|
|
305
|
+
query_params=_query_params,
|
|
306
|
+
header_params=_header_params,
|
|
307
|
+
body=_body_params,
|
|
308
|
+
post_params=_form_params,
|
|
309
|
+
files=_files,
|
|
310
|
+
auth_settings=_auth_settings,
|
|
311
|
+
collection_formats=_collection_formats,
|
|
312
|
+
_host=_host,
|
|
313
|
+
_request_auth=_request_auth
|
|
314
|
+
)
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
44
319
|
@validate_call
|
|
45
320
|
async def list_website_search(
|
|
46
321
|
self,
|
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.124.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.124.0".\
|
|
430
430
|
format(env=sys.platform, pyversion=sys.version)
|
|
431
431
|
|
|
432
432
|
def get_host_settings(self):
|
|
@@ -68,6 +68,7 @@ from wordlift_client.models.content_structure import ContentStructure
|
|
|
68
68
|
from wordlift_client.models.create_embeddings_input import CreateEmbeddingsInput
|
|
69
69
|
from wordlift_client.models.create_seo_score200_response import CreateSEOScore200Response
|
|
70
70
|
from wordlift_client.models.create_seo_score_request import CreateSEOScoreRequest
|
|
71
|
+
from wordlift_client.models.create_url_inspection_request import CreateUrlInspectionRequest
|
|
71
72
|
from wordlift_client.models.diagnostic_plugin import DiagnosticPlugin
|
|
72
73
|
from wordlift_client.models.diagnostic_plugin_request import DiagnosticPluginRequest
|
|
73
74
|
from wordlift_client.models.domain_validation_request import DomainValidationRequest
|
|
@@ -27,11 +27,12 @@ class AccountStats(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
The Account statistics
|
|
29
29
|
""" # noqa: E501
|
|
30
|
+
account_id: StrictInt = Field(description="The account ID.")
|
|
30
31
|
entities: StrictInt = Field(description="The number of entities.")
|
|
31
32
|
entities_with_url: StrictInt = Field(description="The number of entities with URL.")
|
|
32
33
|
product_groups: StrictInt = Field(description="The number of product groups in the KG.")
|
|
33
34
|
products: StrictInt = Field(description="The number of products in the KG.")
|
|
34
|
-
__properties: ClassVar[List[str]] = ["entities", "entities_with_url", "product_groups", "products"]
|
|
35
|
+
__properties: ClassVar[List[str]] = ["account_id", "entities", "entities_with_url", "product_groups", "products"]
|
|
35
36
|
|
|
36
37
|
model_config = ConfigDict(
|
|
37
38
|
populate_by_name=True,
|
|
@@ -84,6 +85,7 @@ class AccountStats(BaseModel):
|
|
|
84
85
|
return cls.model_validate(obj)
|
|
85
86
|
|
|
86
87
|
_obj = cls.model_validate({
|
|
88
|
+
"account_id": obj.get("account_id"),
|
|
87
89
|
"entities": obj.get("entities"),
|
|
88
90
|
"entities_with_url": obj.get("entities_with_url"),
|
|
89
91
|
"product_groups": obj.get("product_groups"),
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WordLift API
|
|
5
|
+
|
|
6
|
+
WordLift API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0
|
|
9
|
+
Contact: hello@wordlift.io
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
import json
|
|
20
|
+
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
|
+
from typing import Any, ClassVar, Dict, List
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class CreateUrlInspectionRequest(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
A URL inspection request.
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
url: StrictStr = Field(description="The URL to analyze.")
|
|
31
|
+
__properties: ClassVar[List[str]] = ["url"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of CreateUrlInspectionRequest from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([
|
|
65
|
+
])
|
|
66
|
+
|
|
67
|
+
_dict = self.model_dump(
|
|
68
|
+
by_alias=True,
|
|
69
|
+
exclude=excluded_fields,
|
|
70
|
+
exclude_none=True,
|
|
71
|
+
)
|
|
72
|
+
return _dict
|
|
73
|
+
|
|
74
|
+
@classmethod
|
|
75
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
76
|
+
"""Create an instance of CreateUrlInspectionRequest from a dict"""
|
|
77
|
+
if obj is None:
|
|
78
|
+
return None
|
|
79
|
+
|
|
80
|
+
if not isinstance(obj, dict):
|
|
81
|
+
return cls.model_validate(obj)
|
|
82
|
+
|
|
83
|
+
_obj = cls.model_validate({
|
|
84
|
+
"url": obj.get("url")
|
|
85
|
+
})
|
|
86
|
+
return _obj
|
|
87
|
+
|
|
88
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
wordlift_client/__init__.py,sha256=
|
|
2
|
-
wordlift_client/api_client.py,sha256=
|
|
1
|
+
wordlift_client/__init__.py,sha256=QxRQUaOH5shb-bz-KE5rtZIqgD-vzgHcVijDMdqFvxg,20156
|
|
2
|
+
wordlift_client/api_client.py,sha256=4jyNq6nHPC-wPHYT1Oq4qGFx-lmoF9VqOT8HKB43HII,26397
|
|
3
3
|
wordlift_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
wordlift_client/configuration.py,sha256=
|
|
4
|
+
wordlift_client/configuration.py,sha256=R69mBRHg_VbGFMqSHJS8yF_A-U_Dp3sfJXIMs3e4QwI,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
|
|
@@ -43,7 +43,7 @@ wordlift_client/api/entities_api.py,sha256=6cQ2m_b5f9aWCGnbb6auGiyrBP6LV7ZQQZDyv
|
|
|
43
43
|
wordlift_client/api/entity_gaps_api.py,sha256=9jd4dkhQlDX409rDUPHQeDBPzF5q5RfjXRUC8M4lk94,11687
|
|
44
44
|
wordlift_client/api/fact_check_api.py,sha256=ejsnMmKtmeOVeLEoOxNo46tlnUsz4BfMq_PcEV4sKf0,11656
|
|
45
45
|
wordlift_client/api/google_merchants_api.py,sha256=EnyR-eOF3jDJzky31X7EkCSpxDk9Ju010MBy9Twg1OM,11056
|
|
46
|
-
wordlift_client/api/google_search_console_api.py,sha256=
|
|
46
|
+
wordlift_client/api/google_search_console_api.py,sha256=lPlbuJzfxN69NsfvtrDRnpU9_W5GbuEPFUjCrqJYtSY,38851
|
|
47
47
|
wordlift_client/api/google_search_console_o_auth2_api.py,sha256=P5Pe1zZ35us54zau9x7FHNmb_sd2ul0WhKKXS5f1f9o,66483
|
|
48
48
|
wordlift_client/api/google_search_console_searches_api.py,sha256=hBIllob_UKFnEfXfJKcmhP7jDD86_etzzvsJwOAoGsQ,16584
|
|
49
49
|
wordlift_client/api/google_search_console_websites_api.py,sha256=mye31mqzTqxUloOMarfXbu0gUk3SvgFgIAHFwD0dyak,12256
|
|
@@ -80,11 +80,11 @@ wordlift_client/api/web_asyncs_metadata_api.py,sha256=cpDQmIGc6uHu5rFXwZAy1cVgcW
|
|
|
80
80
|
wordlift_client/api/web_asyncs_responses_api.py,sha256=h91xI3iIgGoMUcZ7Oft5xiLy0rHh_2qzZDrFTRz3P8w,10889
|
|
81
81
|
wordlift_client/api/web_pages_api.py,sha256=VKPLIaQRxxDn3daP0zvXRiHj2eegsZIjxUmHKzxZXoc,10839
|
|
82
82
|
wordlift_client/api/web_pages_imports_api.py,sha256=yPhNLZ1jV2dEDnYuHb7OpiFH3K2ROrRYHG4ZrAf4VMU,11719
|
|
83
|
-
wordlift_client/models/__init__.py,sha256=
|
|
83
|
+
wordlift_client/models/__init__.py,sha256=VNbslM0J9NaETZUw94tLtm2q29bW1Ww0SoQLyHTfN3g,14558
|
|
84
84
|
wordlift_client/models/account.py,sha256=trGNzy3ZBGE1VsSke4aoXBQem-3jK60xVz0OWOOMWso,5523
|
|
85
85
|
wordlift_client/models/account_config.py,sha256=_4YZ8IGS4h16wa9aSaL9rpeoZYR8faiwEAtovP4eBVI,2592
|
|
86
86
|
wordlift_client/models/account_info.py,sha256=tCqVHqfeK5u1cQkLOBgJRUTs-e8vmGCjqZ4wgfmNIuw,7750
|
|
87
|
-
wordlift_client/models/account_stats.py,sha256=
|
|
87
|
+
wordlift_client/models/account_stats.py,sha256=hMtiIDYGGMp4ytKgvgBIx40U5EyWr6-IJCrqVO4g7BI,3091
|
|
88
88
|
wordlift_client/models/account_subscription.py,sha256=hJNuMXCDt9EqLvp3vfgv2xMc1Uk7UQ7gzTM320MsPbk,2858
|
|
89
89
|
wordlift_client/models/active_account.py,sha256=rFDPX3X2hwMQfMnURcLEPgb9W5NGE1xmDIQhPZRMXQA,5707
|
|
90
90
|
wordlift_client/models/add_on_configuration.py,sha256=8sEIAr91rjmj-A3B1vGUVlZkc_hVxOSmO_Irt4irhz4,3731
|
|
@@ -134,6 +134,7 @@ wordlift_client/models/content_structure.py,sha256=Knn5ZIZBZNV3Ih0Mu4DGjmMgeTdZh
|
|
|
134
134
|
wordlift_client/models/create_embeddings_input.py,sha256=tbdsI0ptkn7zr_jcWwOPA8lAX2UydT4R-KzW82wzoFg,2440
|
|
135
135
|
wordlift_client/models/create_seo_score200_response.py,sha256=qh4q1BUNCp6ZaXPftYNbPTuiGAbfP6sk8J2iKvaiZVM,2632
|
|
136
136
|
wordlift_client/models/create_seo_score_request.py,sha256=yOMTVyZqWIOwqm4wtRW7VEIUtJQLHywaAcVUCNH3Itk,3149
|
|
137
|
+
wordlift_client/models/create_url_inspection_request.py,sha256=V7YbX-EEXZhPe2fAQT_gX2E0IPS5NG_llsAe3muZJWI,2505
|
|
137
138
|
wordlift_client/models/diagnostic_plugin.py,sha256=OMBS9gMlDJyGpEbVDtq4LCGVWhKOiMXuw4lEXpjw40I,3512
|
|
138
139
|
wordlift_client/models/diagnostic_plugin_request.py,sha256=3PyfOenoFYHTHE8BxWuxE_OWAnUsvTKAg-PqoZfLDQQ,2843
|
|
139
140
|
wordlift_client/models/domain_validation_request.py,sha256=QuwI43904xfAE732CvM_YpsXqWiia2YMAIp-2t8lIUY,2719
|
|
@@ -275,8 +276,8 @@ wordlift_client/models/with_limits.py,sha256=rSzDb_If8APxR2Rw2U6cfFRFubnnai3Vj3-
|
|
|
275
276
|
wordlift_client/models/word.py,sha256=FPCGb6ohwdfydE5_qG4PT-UrnMzaTktAWqEEnezwaso,3922
|
|
276
277
|
wordlift_client/models/word_repetition_data.py,sha256=CQnxCnhakt12czl6a_AQIPgHlJtvR9YGBIjGV22rq14,2659
|
|
277
278
|
wordlift_client/models/word_request.py,sha256=ZD13xNRYCZmF14jxEDrRRyEMAd-quDT-HsqkbUP_xWU,2627
|
|
278
|
-
wordlift_client-1.
|
|
279
|
-
wordlift_client-1.
|
|
280
|
-
wordlift_client-1.
|
|
281
|
-
wordlift_client-1.
|
|
282
|
-
wordlift_client-1.
|
|
279
|
+
wordlift_client-1.124.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
280
|
+
wordlift_client-1.124.0.dist-info/METADATA,sha256=mx4hKSRtbPMSoTWSsVwTRDmMK4yR1Ey2eIUb4yYa0pc,530
|
|
281
|
+
wordlift_client-1.124.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
282
|
+
wordlift_client-1.124.0.dist-info/top_level.txt,sha256=p7KFYU869ksxkpP7ADvg8baPgWkTYCzcOpDl1qrJdHk,16
|
|
283
|
+
wordlift_client-1.124.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|