I have a following model in SQLAlchemy: class SomeEvent(db.Model): id = db.Column(UUID(as_uuid=True), primary_key=True, default=uuid.uuid4) created_on = db.Column(db.DateTime()) type = db.Column(db.String(20)) event_target = db.Column(db.String(10)) group =...