MCPcopy Create free account
hub / github.com/activeloopai/deeplake / get_raw_columns

Function get_raw_columns

python/deeplake/__init__.py:242–251  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

240 dataset.commit()
241
242 def get_raw_columns(source):
243 return [
244 col.name
245 for col in source.schema.columns
246 if not col.dtype.is_link and col.dtype.kind in {
247 deeplake.types.TypeKind.Image,
248 deeplake.types.TypeKind.SegmentMask,
249 deeplake.types.TypeKind.Medical,
250 }
251 ]
252
253 def transfer_non_link_data(source, dest):
254 dl = deeplake._deeplake._Prefetcher(source, raw_columns=set(get_raw_columns(source)))

Callers 2

transfer_non_link_dataFunction · 0.85
transfer_with_linksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected