Added python samples to relationships idiom