How do I group query results by the hour part of a datetime column in SQLAlchemy?

Edit
Report