Could use a dict comprehension here `{k: v for k, v in...}`.