wordlift-client 1.113.0__py3-none-any.whl → 1.114.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_client.py +1 -1
- wordlift_client/configuration.py +1 -1
- wordlift_client/models/web_page_import_request.py +4 -2
- {wordlift_client-1.113.0.dist-info → wordlift_client-1.114.0.dist-info}/METADATA +1 -1
- {wordlift_client-1.113.0.dist-info → wordlift_client-1.114.0.dist-info}/RECORD +9 -9
- {wordlift_client-1.113.0.dist-info → wordlift_client-1.114.0.dist-info}/LICENSE +0 -0
- {wordlift_client-1.113.0.dist-info → wordlift_client-1.114.0.dist-info}/WHEEL +0 -0
- {wordlift_client-1.113.0.dist-info → wordlift_client-1.114.0.dist-info}/top_level.txt +0 -0
wordlift_client/__init__.py
CHANGED
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.114.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.114.0".\
|
|
430
430
|
format(env=sys.platform, pyversion=sys.version)
|
|
431
431
|
|
|
432
432
|
def get_host_settings(self):
|
|
@@ -33,7 +33,8 @@ class WebPageImportRequest(BaseModel):
|
|
|
33
33
|
id_generator: Optional[StrictStr] = Field(default='default', description="The entity id generator, by default uses the web page path.")
|
|
34
34
|
output_types: Optional[List[StrictStr]] = Field(default=None, description="The type of the generated entities, by default `http://schema.org/WebPage`.")
|
|
35
35
|
url: StrictStr = Field(description="The Web Page url to import")
|
|
36
|
-
|
|
36
|
+
write_strategy: Optional[StrictStr] = Field(default='createOrUpdateModel', description="The strategy used to write to the Graph: `createOrUpdateModel` (default) will replace existing entities; `patchReplaceModel` will replace the `type`, `headline`, `abstract` and `text` properties.")
|
|
37
|
+
__properties: ClassVar[List[str]] = ["embedding", "id", "id_generator", "output_types", "url", "write_strategy"]
|
|
37
38
|
|
|
38
39
|
@field_validator('id_generator')
|
|
39
40
|
def id_generator_validate_enum(cls, value):
|
|
@@ -103,7 +104,8 @@ class WebPageImportRequest(BaseModel):
|
|
|
103
104
|
"id": obj.get("id"),
|
|
104
105
|
"id_generator": obj.get("id_generator") if obj.get("id_generator") is not None else 'default',
|
|
105
106
|
"output_types": obj.get("output_types"),
|
|
106
|
-
"url": obj.get("url")
|
|
107
|
+
"url": obj.get("url"),
|
|
108
|
+
"write_strategy": obj.get("write_strategy") if obj.get("write_strategy") is not None else 'createOrUpdateModel'
|
|
107
109
|
})
|
|
108
110
|
return _obj
|
|
109
111
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
wordlift_client/__init__.py,sha256=
|
|
2
|
-
wordlift_client/api_client.py,sha256=
|
|
1
|
+
wordlift_client/__init__.py,sha256=ENuv_BMl6yWZsbfXvbSY57-fKiVvVh7brFaqN7nOFtI,18735
|
|
2
|
+
wordlift_client/api_client.py,sha256=0DLtNYdVa8YnoeWxWJgEyO90BNWd5fTlahR25fpFxOc,26397
|
|
3
3
|
wordlift_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
wordlift_client/configuration.py,sha256=
|
|
4
|
+
wordlift_client/configuration.py,sha256=wGIsLddODP6Gbfsj9WzQ00SlfFMLvPKiFpTN3Otej0g,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
|
|
@@ -243,7 +243,7 @@ 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=
|
|
246
|
+
wordlift_client/models/web_page_import_request.py,sha256=e9c4ldcqZlK7bR382KwXbLnfqIwjBWRuoFybLSMMiK0,4378
|
|
247
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
|
|
@@ -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.114.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
259
|
+
wordlift_client-1.114.0.dist-info/METADATA,sha256=tB2srgyI1_YG-vdc6UGDDhrci_9vOx-3kg1TGqetZWI,530
|
|
260
|
+
wordlift_client-1.114.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
261
|
+
wordlift_client-1.114.0.dist-info/top_level.txt,sha256=p7KFYU869ksxkpP7ADvg8baPgWkTYCzcOpDl1qrJdHk,16
|
|
262
|
+
wordlift_client-1.114.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|