Skip to content

Commit

Permalink
windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
activesoull committed Mar 29, 2024
1 parent 129119d commit 65dd060
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions deeplake/core/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -3849,9 +3849,7 @@ def _get_view(self, inherit_creds=True, creds: Optional[Dict] = None):
ds._checkout(commit_id, verbose=False)
first_index_subscriptable = self.info.get("first-index-subscriptable", True)
if first_index_subscriptable:
index_entries = [
IndexEntry(self.VDS_INDEX.numpy().reshape(-1).tolist())
]
index_entries = [IndexEntry(self.VDS_INDEX.numpy().reshape(-1).tolist())]
else:
index_entries = [IndexEntry(int(self.VDS_INDEX.numpy()))]
sub_sample_index = self.info.get("sub-sample-index")
Expand Down
1 change: 1 addition & 0 deletions deeplake/core/vectorstore/test_deeplake_vectorstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -2902,6 +2902,7 @@ def returning_tql_for_exec_option_python_should_throw_exception(local_path):
db.search(embedding=query_embedding, return_tql=True)


@requires_libdeeplake
def test_returning_tql_for_exec_option_compute_engine_should_return_correct_tql(
local_path,
hub_cloud_dev_token,
Expand Down

0 comments on commit 65dd060

Please sign in to comment.