def register_process_operation_precondition(self, process, operation, precondition):

        if not hasattr(process, operation):
            raise NotFound("The operation %s does not exist for the %s service" % (operation, process.name))

        if type(precondition) == types.MethodType and precondition.im_self != process:
            raise NotFound("The method %s does not exist for the %s service." % (str(precondition), process.name))

        process_op_conditions = self.get_process_operation_dict(process.name)
        if process_op_conditions.has_key(operation):
            process_op_conditions[operation].append(precondition)
        else:
            preconditions = list()
            preconditions.append(precondition)
            process_op_conditions[operation] = preconditions
>>> s = [b'foo']
dataset/ETHPy150Open ooici/pyon/pyon/core/governance/governance_controller.py/GovernanceController.register_process_operation_precondition--crossover with--dataset/ETHPy150Open richardkiss/pycoin/pycoin/tx/script/microcode.py/do_OP_HASH256