Skip to content

Commit aaa66c5

Browse files
authored
fixed the issue that context is missing for EntityRecognitionSkill (#34629)
* fixed the issue that context is missing for EntityRecognitionSkill * update changelog
1 parent ad990bd commit aaa66c5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

sdk/search/azure-search-documents/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Bugs Fixed
1010

1111
- Fixed the issue that `SearchIndexerSkillset`, `SearchField`, `SearchIndex`, `AnalyzeTextOptions`, `SearchResourceEncryptionKey`, `SynonymMap`, `SearchIndexerDataSourceConnection` could not be serialized and `as_dict` did not work.
12+
- Fixed the issue that `context` was missing for `EntityRecognitionSkill` and `SentimentSkill`. #34623
1213

1314
### Other Changes
1415

sdk/search/azure-search-documents/azure/search/documents/indexes/models/_models.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ def _to_generated(self):
294294
inputs=self.inputs,
295295
outputs=self.outputs,
296296
name=self.name,
297+
description=self.description,
298+
context=self.context,
297299
odata_type=self.odata_type,
298300
categories=self.categories,
299301
default_language_code=self.default_language_code,
@@ -407,6 +409,8 @@ def _to_generated(self):
407409
inputs=self.inputs,
408410
outputs=self.outputs,
409411
name=self.name,
412+
description=self.description,
413+
context=self.context,
410414
odata_type=self.odata_type,
411415
default_language_code=self.default_language_code,
412416
include_opinion_mining=self.include_opinion_mining,

0 commit comments

Comments
 (0)