intent: How do I implement a null coalescing operator in SQLAlchemy?
rewritten_intent: query all data from table `Task` where the value of column `time_spent` is bigger than 3 hours
snippet: session.query(Task).filter(Task.time_spent > timedelta(hours=3)).all()