File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apis/python/src/tiledb/vector_search Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,14 +154,14 @@ def __init__(
154154
155155 dtype = group .meta .get ("dtype" , None )
156156 if dtype is None :
157- schema = tiledb .ArraySchema .load (self .parts_db_uri , ctx = self .ctx )
157+ schema = tiledb .ArraySchema .load (self .parts_db_uri , ctx = tiledb . Ctx ( self .config ) )
158158 self .dtype = np .dtype (schema .attr ("values" ).dtype )
159159 else :
160160 self .dtype = np .dtype (dtype )
161161
162162 self .partitions = group .meta .get ("partitions" , - 1 )
163163 if self .partitions == - 1 :
164- schema = tiledb .ArraySchema .load (self .centroids_uri , ctx = self .ctx )
164+ schema = tiledb .ArraySchema .load (self .centroids_uri , ctx = tiledb . Ctx ( self .config ) )
165165 self .partitions = schema .domain .dim ("cols" ).domain [1 ] + 1
166166
167167 def query (
You can’t perform that action at this time.
0 commit comments