def _format(level, entry, state): output = '{}Computing {} for {}'.format(' ' * level, type_or_constraint_repr(entry.node.product), entry.node.subject) if is_one_level_above_bottom(entry): output += '\n{}{}'.format(' ' * (level + 1), state) return output
def _format(level, entry, state): output = '{}Computing {} for {}'.format( ' ' * level, type_or_constraint_repr(entry.node.product), entry.node.subject) if is_one_level_above_bottom(entry): output += '\n{}{}'.format(' ' * (level + 1), state) return output
def __str__(self): return '({}, {!r}, {})'.format( type_or_constraint_repr(self.product_type), self.input_selectors, self.task_func.__name__)
def __str__(self): return '({}, {!r}, {})'.format(type_or_constraint_repr(self.product_type), self.input_selectors, self.func.__name__)
def __repr__(self): return '{}({}, {})'.format(type(self).__name__, type_or_constraint_repr(self.output_constraint), self.value)
def __str__(self): return '({}, {!r}, {})'.format(type_or_constraint_repr(self.output_constraint), self.input_selectors, self.func.__name__)