parameters: (parent_alg, name, **kwargs)
return_statement: return alg
docstring: Creates a child algorithm from a parent algorithm
  
      :param parent_alg: a handle to the parent algorithm
      :param name: the name of the child algorithm
      :param kwargs: a argument dict
      :return: the child algorithm
docstring_summary: Creates a child algorithm from a parent algorithm
docstring_tokens: Creates a child algorithm from a parent algorithm
function: def create_child_algorithm(parent_alg, name, **kwargs):
      """
      Creates a child algorithm from a parent algorithm
  
      :param parent_alg: a handle to the parent algorithm
      :param name: the name of the child algorithm
      :param kwargs: a argument dict
      :return: the child algorithm
      """
      if parent_alg:
          alg = parent_alg.createChildAlgorithm(name)
          alg.setRethrows(True)
          for key, value in kwargs.items():
              alg.setProperty(key, value)
      else:
          alg = create_unmanaged_algorithm(name, **kwargs)
      return alg
function_tokens: def create_child_algorithm ( parent_alg , name , * * kwargs ) : if parent_alg : alg = parent_alg . createChildAlgorithm ( name ) alg . setRethrows ( True ) for key , value in kwargs . items ( ) : alg . setProperty ( key , value ) else : alg = create_unmanaged_algorithm ( name , * * kwargs ) return alg