code: def __init__(
      self, obj: Any, keys: Optional[List[Any]] = None
  ) -> None:
      self.obj = obj
  
      if keys is None:
          keys = []
      self.keys = keys
  
imports: from typing import Any, List, Optional
label_desc: Use image node_id 1 to create a new KeysRecorder object  with example: obj = KeysRecorder(obj, keys)