Now I get File "/home/eps/devel/tourclub/sqlalchemy/lib/sqlalchemy/sql/visitors.py", line 59, in _compiler_dispatch return getter(visitor)(self, **kw) File "/home/eps/devel/tourclub/sqlalchemy/lib/sqlalchemy/sql/compiler.py", line 370, in visit_column raise exc.CompileError("Cannot compile Column object until " CompileError: Cannot compile Column object until it's 'name' is assigned.
With case([(cls.last_read != None, cls.last_read <= func.now() - datetime.timedelta(minutes=30))], else_=literal(False)) case([(cls.last_read != None, literal(cls.last_read <= func.now() - datetime.timedelta(minutes=30)))], else_=literal(False)) case([(cls.last_read != None, literal(cls.last_read <= func.now() - datetime.timedelta(minutes=30)).label('foo'))], else_=literal(False)) -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sqlalchemy/-/vRfXbta7DoMJ. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.