@@ -43,8 +43,8 @@ class AlloyDBIndexParam(TypedDict):
4343 metric : str
4444 index_type : str
4545 index_creation_with_options : Sequence [dict [str , Any ]]
46- maintenance_work_mem : str | None
47- max_parallel_workers : int | None
46+ maintenance_work_mem : str | None = None
47+ max_parallel_workers : int | None = None
4848
4949
5050class AlloyDBSearchParam (TypedDict ):
@@ -120,15 +120,15 @@ def _optionally_build_set_options(
120120
121121class AlloyDBScaNNConfig (AlloyDBIndexConfig ):
122122 index : IndexType = IndexType .SCANN
123- num_leaves : int | None
124- quantizer : str | None
125- enable_pca : str | None
126- max_num_levels : int | None
127- num_leaves_to_search : int | None
128- max_top_neighbors_buffer_size : int | None
129- pre_reordering_num_neighbors : int | None
130- num_search_threads : int | None
131- max_num_prefetch_datasets : int | None
123+ num_leaves : int | None = None
124+ quantizer : str | None = None
125+ enable_pca : str | None = None
126+ max_num_levels : int | None = None
127+ num_leaves_to_search : int | None = None
128+ max_top_neighbors_buffer_size : int | None = None
129+ pre_reordering_num_neighbors : int | None = None
130+ num_search_threads : int | None = None
131+ max_num_prefetch_datasets : int | None = None
132132 maintenance_work_mem : str | None = None
133133 max_parallel_workers : int | None = None
134134
0 commit comments