def refineData(root, options):
    """ walk down from the root and gather up the important bits.
    """
    worker = root.worker
    job = root.jobs
    jobTypesTree = root.job_types
    jobTypes = []
    for childName in jobTypesTree:
        jobTypes.append(jobTypesTree[childName])
    return root, worker, job, jobTypes
def refineData ( root , options ) : worker = root . worker job = root . jobs jobTypesTree = root . job_types jobTypes = [ ] for childName in jobTypesTree : jobTypes . append ( jobTypesTree [ childName ] ) return root , worker , job , jobTypes
walk down from the root and gather up the important bits.