[Python-ideas] Proposal : allowing grouping by relation