Defined the python ParentProxy class
Small amendment to __getitem__ in ParentProxy