def depsOf_of_mirteFile_instance_definition(man, insts):
    """ Returns a function that returns the dependencies of
        an instance definition by its name, where insts is a
        dictionary of instance definitions from a mirteFile """
    return lambda x: [a[1] for a in six.iteritems(insts[x])
                      if a[0] in [dn for dn, d in (
                          six.iteritems(man.modules[insts[x]['module']].deps)
                          if 'module' in insts[x] else [])]]
def depsOf_of_mirteFile_instance_definition ( man , insts ) : return lambda x : [ a [ 1 ] for a in six . iteritems ( insts [ x ] ) if a [ 0 ] in [ dn for dn , d in ( six . iteritems ( man . modules [ insts [ x ] [ 'module' ] ] . deps ) if 'module' in insts [ x ] else [ ] ) ] ]
Returns a function that returns the dependencies of
        an instance definition by its name, where insts is a
        dictionary of instance definitions from a mirteFile