code: def read(cls, proto):
      
      regionImpl = proto.regionImpl.as_struct(cls.getSchema())
      return cls.readFromProto(regionImpl)
docs: Calls :meth:`~nupic.bindings.regions.PyRegion.PyRegion.readFromProto`
      on subclass after converting proto to specific type using
      :meth:`~nupic.bindings.regions.PyRegion.PyRegion.getSchema`.
  
      :param proto: PyRegionProto capnproto object