Skip to content

Commit

Permalink
Correctly update sample_info link from Tensor objects
Browse files Browse the repository at this point in the history
  • Loading branch information
nvoxland committed Mar 12, 2024
1 parent f485b02 commit 0536b8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deeplake/core/tensor_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def extend_info(samples, link_creds=None, progressbar=False):
sample = sample.copy()
meta = sample.meta
meta["modified"] = False
if isinstance(sample, deeplake.Tensor):
meta = sample.sample_info
metas.append(meta)
return metas

Expand Down

0 comments on commit 0536b8b

Please sign in to comment.