def owner ( self ) : if self . _owner : return self . _owner elif not self . abstract : return self . read_meta ( ) . _owner raise EmptyDocumentException ( )
get owner of doc in python
Username of document creator
def owner(self):
        """
        Username of document creator
        """
        if self._owner:
            return self._owner
        elif not self.abstract:
            return self.read_meta()._owner

        raise EmptyDocumentException()