code: def __init__(self, key=None, **kw):
      super().__init__(_key=key, **kw)
      self._id = "1"
  
imports: import importlib
  import os
  from collections import namedtuple
  from datetime import timezone
  import numpy
  import pandas
  import pytest
  from ....core import EntityData
  from ....utils import no_default
  from ...None import serialize, deserialize
  from ..None import Serializable, FieldTypes, IdentityField, BoolField, AnyField, Int8Field, Int16Field, Int32Field, Int64Field, UInt8Field, UInt16Field, UInt32Field, UInt64Field, Float16Field, Float32Field, Float64Field, Complex64Field, Complex128Field, StringField, BytesField, KeyField, NDArrayField, Datetime64Field, Timedelta64Field, DataTypeField, IndexField, SeriesField, DataFrameField, IntervalArrayField, SliceField, FunctionField, NamedTupleField, TZInfoField, ListField, TupleField, DictField, ReferenceField, OneOfField
label_desc: Use image node_id 1 to create a new MyHasKey object from inherited base classes: EntityData with example: obj = MyHasKey(key)