code: def __init__(self, data=None):
      self.data = data
  
imports: import pytest
  from unittest import mock
  from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
  from .utils import setup, teardown
  import ipywidgets
  from ipywidgets import Widget
label_desc: Use image node_id 1 to create a new DataInstance object  with example: obj = DataInstance(data)