MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / encode_task

Method encode_task

datastudio/models/base.py:468–470  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

466 encoded_cache = {}
467
468 def encode_task(item):
469 img_id, img = item
470 return img_id, self.encode_image_directly(img)
471
472 try:
473 with concurrent.futures.ThreadPoolExecutor(max_workers=16) as executor:

Callers

nothing calls this directly

Calls 1

encode_image_directlyMethod · 0.95

Tested by

no test coverage detected