code: def default_child_path(path):
      
      try:
          # Recurse until we find a path with no default child
          child_path = default_child_path(
              current_app.config['DEFAULT_CHILDREN'][path]
          )
      except KeyError:
          child_path = path
      return child_path
docs: Return the default child of the parent path ,if it exists, else path.
  
      As an example, if the path `parent` show show the page `parent/child` by
      default, this method will return `parent/child` given `parent`.
      If `parent/child` should show `parent/child/grandchild` by default,
      this method will return `parent/child/grandchild` given `parent`.
      If no default child path exists, then `path` is returned.
      Keyword arguments:
      path -- The parent path to resolve in to its deepest default child path.