class_docstr: Serializable base class establishing
  :meth:`~nupic.serializable.Serializable.read` and
  :meth:`~nupic.serializable.Serializable.write` abstract methods,
  :meth:`.readFromFile` and :meth:`.writeToFile` concrete methods to support
  serialization with Cap'n Proto.
docstr: Write obj instance to Cap'n Proto object
  
  .. warning: This is an abstract method.  Per abc protocol, attempts to
              subclass without overriding will fail.
  
  :param proto: Cap'n Proto obj
docstr_tok: ["Write","obj","instance","to","Cap'n","Proto","object","..","warning",":","This","is","an","abstract","method",".","Per","abc","protocol",",","attempts","to","subclass","without","overriding","will","fail",".",":","param","proto",":","Cap'n","Proto","obj"]
code: def write(self, proto):
      """
      Write obj instance to Cap'n Proto object
  
      .. warning: This is an abstract method.  Per abc protocol, attempts to
                  subclass without overriding will fail.
  
      :param proto: Cap'n Proto obj
      """
      pass
  
file_path: nupic-legacy/src/nupic/serializable.py
imports: from abc import ABCMeta, abstractmethod
label_desc: Use image node_id 3 for calling the Serializable obj's underlying member method code with example usage: obj.write(proto) without return types