Skip to content

Commit 4cd4310

Browse files
authored
Update samples (#36767)
* Update samples * update
1 parent 2858cf8 commit 4cd4310

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/models/_models_py3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4432,7 +4432,7 @@ def __init__(
44324432
allow_skillset_to_read_file_data: bool = False,
44334433
pdf_text_rotation_algorithm: Union[str, "_models.BlobIndexerPDFTextRotationAlgorithm"] = "none",
44344434
execution_environment: Union[str, "_models.IndexerExecutionEnvironment"] = "standard",
4435-
query_timeout: str = "00:05:00",
4435+
query_timeout: Optional[str] = "00:05:00",
44364436
**kwargs: Any
44374437
) -> None:
44384438
"""

sdk/search/azure-search-documents/samples/sample_indexer_datasource_skillset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def sample_indexer_workflow():
116116
print("Index is created")
117117

118118
# we pass the data source, skillsets and targeted index to build an indexer
119-
configuration = IndexingParametersConfiguration(parsing_mode="jsonArray")
119+
configuration = IndexingParametersConfiguration(parsing_mode="jsonArray", query_timeout=None)
120120
parameters = IndexingParameters(configuration=configuration)
121121
indexer = SearchIndexer(
122122
name="hotel-data-indexer",

0 commit comments

Comments
 (0)