src/test/resources/python/ducktape.py
def dump_registry () :
    """ Dumping module registry to be used in ducktape python domain to get information about module"""
    f=open('moduleInfo.msg','w')
    for module in module_registry:
        cur = module_registry[module]
        # This list is how msgpack expect MessageInfo object to be passed to java.
        infoaslist = [cur['name'], cur['description'], cur['inputs'], cur['input_types'], cur['outputs'], cur['output_types']]
        f.write(msgpack.packb(infoaslist))
    f.close()
 Dumping module registry to be used in ducktape python domain to get information about module
Dumping module registry to be used in ducktape python domain to get information about module
Dumping module registry to be used in ducktape python domain to get information about module
def dump_registry () :
    f=open('moduleInfo.msg','w')
    for module in module_registry:
        cur = module_registry[module]
        infoaslist = [cur['name'], cur['description'], cur['inputs'], cur['input_types'], cur['outputs'], cur['output_types']]
        f.write(msgpack.packb(infoaslist))
    f.close()
def dump_registry ( ) : f = open ( 'moduleInfo.msg' , 'w' ) for module in module_registry : cur = module_registry [ module ] infoaslist = [ cur [ 'name' ] , cur [ 'description' ] , cur [ 'inputs' ] , cur [ 'input_types' ] , cur [ 'outputs' ] , cur [ 'output_types' ] ] f . write ( msgpack . packb ( infoaslist ) ) f . close ( )
Dumping module registry to be used in ducktape python domain to get information about module
Dumping module registry to be used in ducktape python domain to get information about module
""" Dumping module registry to be used in ducktape python domain to get information about module""" # This list is how msgpack expect MessageInfo object to be passed to java.