suggestions for flowers in climbing bean/pea (raised) bed

Is it a bad idea to put some flowering plants in my raised bed along with beans and peas? If not, what would work? Presumably it would need to be something that tolerates semi-shade, at least. (The beans are planted in rows going east-west... or vice versa
)
I am not keen on putting marigolds in as a companion plant, as growing nasturtiums - another aphid attractant - with my potted dwarf cherry trees last year resulted in a horrible plague of black aphids on the cherries.

I am not keen on putting marigolds in as a companion plant, as growing nasturtiums - another aphid attractant - with my potted dwarf cherry trees last year resulted in a horrible plague of black aphids on the cherries.
0
Posts
I was just looking up tagetes and calendula and one source says they repel aphids. Is this the case? Mind you my calendula were plagued with mildew last year, so maybe best keep away from peas.