If you’re nice to them they are nice back to you. I feed a few Magpies around my area and have never had a problem being swooped. They have long memories.
From ChatGPT..
Magpies can recognise individual humans
Australian magpies have excellent memories and can learn to recognise particular...