1
1
# pylint: disable=too-many-lines
2
2
# coding=utf-8
3
3
# --------------------------------------------------------------------------
4
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.5, generator: @autorest/python@6.28.4 )
4
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.5, generator: @autorest/python@6.30.0 )
5
5
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
6
6
# --------------------------------------------------------------------------
7
7
@@ -1807,7 +1807,7 @@ class SearchResult(_serialization.Model):
1807
1807
:vartype captions: list[~azure.search.documents.models.QueryCaptionResult]
1808
1808
:ivar document_debug_info: Contains debugging information that can be used to further explore
1809
1809
your search results.
1810
- :vartype document_debug_info: list[ ~azure.search.documents.models.DocumentDebugInfo]
1810
+ :vartype document_debug_info: ~azure.search.documents.models.DocumentDebugInfo
1811
1811
"""
1812
1812
1813
1813
_validation = {
@@ -1824,7 +1824,7 @@ class SearchResult(_serialization.Model):
1824
1824
"reranker_score" : {"key" : "@search\\ .rerankerScore" , "type" : "float" },
1825
1825
"highlights" : {"key" : "@search\\ .highlights" , "type" : "{[str]}" },
1826
1826
"captions" : {"key" : "@search\\ .captions" , "type" : "[QueryCaptionResult]" },
1827
- "document_debug_info" : {"key" : "@search\\ .documentDebugInfo" , "type" : "[ DocumentDebugInfo] " },
1827
+ "document_debug_info" : {"key" : "@search\\ .documentDebugInfo" , "type" : "DocumentDebugInfo" },
1828
1828
}
1829
1829
1830
1830
def __init__ (self , * , additional_properties : Optional [Dict [str , Any ]] = None , ** kwargs : Any ) -> None :
@@ -1839,7 +1839,7 @@ def __init__(self, *, additional_properties: Optional[Dict[str, Any]] = None, **
1839
1839
self .reranker_score : Optional [float ] = None
1840
1840
self .highlights : Optional [Dict [str , List [str ]]] = None
1841
1841
self .captions : Optional [List ["_models.QueryCaptionResult" ]] = None
1842
- self .document_debug_info : Optional [List [ "_models.DocumentDebugInfo" ] ] = None
1842
+ self .document_debug_info : Optional ["_models.DocumentDebugInfo" ] = None
1843
1843
1844
1844
1845
1845
class VectorThreshold (_serialization .Model ):
0 commit comments