Here are the examples of the python api protocol.Delete taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Example 1
Project: py-infinote Source File: document.py
def delete(self, params):
'''
try to perform a delete operation and add the operation to the log
:param list params: [user, vector, position, text_length]
'''
operation = Delete(params[2], params[3])
request = DoRequest(params[0], Vector(params[1]), operation)
if self._state.canExecute(request):
self._state.execute(request)
self.log.append(["d", tuple(params)])