server/hook.py
branchstable
changeset 7288 b156200ebc9d
parent 7237 9f619715665b
parent 7286 a0d3ea01f4bf
child 7387 d240cff2d8ba
child 7498 dc823b9ce74b
equal deleted inserted replaced
7280:571b29842ef1 7288:b156200ebc9d
   810     given data to the existing container. Default to a `set`. Give `list` if you
   810     given data to the existing container. Default to a `set`. Give `list` if you
   811     want to keep arrival ordering. You can also use another kind of container
   811     want to keep arrival ordering. You can also use another kind of container
   812     by redefining :meth:`_build_container` and :meth:`add_data`
   812     by redefining :meth:`_build_container` and :meth:`add_data`
   813 
   813 
   814     More optional parameters can be given to the `get_instance` operation, that
   814     More optional parameters can be given to the `get_instance` operation, that
   815     will be given to the operation constructer (though those parameters should
   815     will be given to the operation constructor (for obvious reasons those
   816     not vary accross different calls to this method for a same operation for
   816     parameters should not vary accross different calls to this method for a
   817     obvious reason).
   817     given operation).
   818 
   818 
   819     .. Note::
   819     .. Note::
   820         For sanity reason `get_data` will reset the operation, so that once
   820         For sanity reason `get_data` will reset the operation, so that once
   821         the operation has started its treatment, if some hook want to push
   821         the operation has started its treatment, if some hook want to push
   822         additional data to this same operation, a new instance will be created
   822         additional data to this same operation, a new instance will be created