code: def get_node(self):
      # Get the root node of the next document.
      if not self.check_event(StreamEndEvent):
          return self.compose_document()
  
file_path: keepsake/python/keepsake/_vendor/yaml/composer.py
imports: from .error import MarkedYAMLError
  from .events import *
  from .nodes import *
label_desc: Use image node_id 3 for calling the Composer obj's underlying member method code with example usage: obj.get_node() and returns: self