genesis/genesis.py
def print_processor_inputs(self, processor_name):
        """Print processor input fields and types.

        :param processor_name: Processor object name
        :type processor_name: string

        """
        p = self.processors(processor_name=processor_name)

        if len(p) == 1:
            p = p[0]
        else:
            Exception('Invalid processor name')

        for field_schema, _, _ in iterate_schema({}, p['input_schema'], 'input'):
            name = field_schema['name']
            typ = field_schema['type']
            # value = fields[name] if name in fields else None
            print("{} -> {}".format(name, typ))
def print_processor_inputs(self, processor_name):
        p = self.processors(processor_name=processor_name)

        if len(p) == 1:
            p = p[0]
        else:
            Exception('Invalid processor name')

        for field_schema, _, _ in iterate_schema({}, p['input_schema'], 'input'):
            name = field_schema['name']
            typ = field_schema['type']
            # value = fields[name] if name in fields else None
            print("{} -> {}".format(name, typ))
def print_processor_inputs ( self , processor_name ) : p = self . processors ( processor_name = processor_name ) if len ( p ) == 1 : p = p [ 0 ] else : Exception ( 'Invalid processor name' ) for field_schema , _ , _ in iterate_schema ( { } , p [ 'input_schema' ] , 'input' ) : name = field_schema [ 'name' ] typ = field_schema [ 'type' ] # value = fields[name] if name in fields else None print ( "{} -> {}" . format ( name , typ ) )
Print processor input fields and types.

        :param processor_name: Processor object name
        :type processor_name: string
Print processor input fields and types .