code: def forward_path(es, dataframe_ids):
      """
      Create a forward RelationshipPath through the given dataframes. Assumes only
      one such path is possible.
      """
  
      def _get_relationship(child, parent):
          return next(
              r
              for r in es.get_forward_relationships(child)
              if r._parent_dataframe_name == parent
          )
  
      relationships = [
          _get_relationship(child, parent)
          for child, parent in zip(
              dataframe_ids[:-1], dataframe_ids[1:]
          )
      ]
  
      return RelationshipPath([(True, r) for r in relationships])
  
file_path: featuretools/featuretools/tests/testing_utils/features.py
imports: import re
  from featuretools.entityset.relationship import RelationshipPath
label_desc: Use image node_id 4 for calling a global function with example usage: forward_path(es, dataframe_ids) and returns: RelationshipPath, next