code: def get_parent_objects(self, context):
          
          parent_object = api.get_parent(context)
          portal_type = api.get_portal_type(context)
          return parent_object.objectValues(portal_type)
docs: Return all objects of the same type from the parent object