#NEWLINE# @ classmethod #NEWLINE# def mutate_and_get_payload( cls , input , info ) : #NEWLINE# #INDENT# ship_name = input . get ( 'ship_name' ) #NEWLINE# faction_id = input . get ( 'faction_id' ) #NEWLINE# ship = create_ship ( ship_name , faction_id ) #NEWLINE# faction = get_faction ( faction_id ) #NEWLINE# return IntroduceShip ( ship = Ship ( ship ) , faction = Faction ( faction ) )