if instance is None:
return self
else:
- return instance._should_log_debug and 'debug' or (instance._should_log_info and True or False)
+ return instance._should_log_debug and 'debug' or \
+ (instance._should_log_info and True or False)
def __set__(self, instance, value):
instance_logger(instance, echoflag=value)
class _Tuple(ClauseList, ColumnElement):
def __init__(self, *clauses, **kw):
+ clauses = [_literal_as_binds(c) for c in clauses]
super(_Tuple, self).__init__(*clauses, **kw)
self.type = _type_from_args(clauses)