code: def from_bytes(self, data: bytes) -> "MockShim":
      return MockShim(data=list(data))
  
file_path: thinc/thinc/tests/layers/test_shim.py
imports: from typing import List
  from thinc.shims.shim import Shim
  from ..util import make_tempdir
label_desc: Use image node_id 3 for calling the MockShim obj's underlying member method code with example usage: obj.from_bytes(data) and returns: MockShim