parameters: (self, proto)
docstring: Calls :meth:`~nupic.bindings.regions.PyRegion.PyRegion.writeToProto`
      on subclass after converting proto to specific type using
      :meth:`~nupic.bindings.regions.PyRegion.PyRegion.getSchema`.
  
      :param proto: PyRegionProto capnproto object
docstring_summary: Calls :meth:`~nupic.bindings.regions.PyRegion.PyRegion.writeToProto`
      on subclass after converting proto to specific type using
      :meth:`~nupic.bindings.regions.PyRegion.PyRegion.getSchema`.
docstring_tokens: Calls : meth : ~nupic . bindings . regions . PyRegion . PyRegion . writeToProto on subclass after converting proto to specific type using : meth : ~nupic . bindings . regions . PyRegion . PyRegion . getSchema .
function: def write(self, proto):
      """
      Calls :meth:`~nupic.bindings.regions.PyRegion.PyRegion.writeToProto`
      on subclass after converting proto to specific type using
      :meth:`~nupic.bindings.regions.PyRegion.PyRegion.getSchema`.
  
      :param proto: PyRegionProto capnproto object
      """
      regionImpl = proto.regionImpl.as_struct(self.getSchema())
      self.writeToProto(regionImpl)
function_tokens: def write ( self , proto ) : regionImpl = proto . regionImpl . as_struct ( self . getSchema ( ) ) self . writeToProto ( regionImpl )