def tops(opts):
 if ('master_tops' not in opts):
  return {}
 whitelist = list(opts['master_tops'].keys())
 ret = LazyLoader(_module_dirs(opts, 'tops', 'top'), opts, tag='top', whitelist=whitelist)
 return FilterDictWrapper(ret, '.top')

def tops ( opts ) : if ( 'master_tops' not in opts ) : return { } whitelist = list ( opts [ 'master_tops' ] . keys ( ) ) ret = LazyLoader ( _module_dirs ( opts , 'tops' , 'top' ) , opts , tag = 'top' , whitelist = whitelist ) return FilterDictWrapper ( ret , '.top' )
returns the tops modules .