results = session.query(PlayerModel).join(PlayerModel.messages).values(
    PlayerModel.username, MessageModel.message, MessageModel.time)
resultlist = []
for username, message, time in results:
    resultlist.append({'message': message, 'username': username, 'time': time})
How to achieve inner join using SQLAlchemy?