class_docstr: Extended UID containing a history hash as well, which is used for comparisons.
class_docstr_tok: ["Extended","UID","containing","a","history","hash","as","well",",","which","is","used","for","comparisons","."]
code: def __init__(
      self,
      value: Optional[Union[uuid_type, str, bytes]] = None,
      syft_history_hash: Optional[int] = None,
  ):
      if isinstance(value, LineageID):
          syft_history_hash = value.syft_history_hash
          value = value.value
  
      super().__init__(value)
  
      if syft_history_hash is None:
          syft_history_hash = hash(self.value)
      self.syft_history_hash = syft_history_hash
  
imports: from typing import Any
  from typing import Callable
  from typing import Dict
  from typing import Optional
  from typing import Sequence
  from typing import Union
  import uuid
  from uuid import UUID
  from ..serde.serializable import serializable
  from ..util.logger import critical
  from ..util.logger import traceback_and_raise
label_desc: Use image node_id 1 to create a new LineageID object from inherited base classes: UID with example: obj = LineageID(value, syft_history_hash)