We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d67e1a2 commit 0eab8e1Copy full SHA for 0eab8e1
doc/source/user/v2-api.rst
@@ -285,3 +285,10 @@ want to do so, you may find useful to inhering from the
285
286
.. autoclass:: deepaas.model.v2.base.BaseModel
287
:members:
288
+
289
+.. warning::
290
+ The API uses ``multiprocessing`` for handling tasks. Therefore if you use
291
+ decorators around your methods, please follow best practices and use
292
+ `functools.wraps <http://gael-varoquaux.info/programming/decoration-in-python-done-right-decorating-and-pickling.html>`_
293
+ so that the methods are still pickable. Beware also of using global variables
294
+ that might not be shared between processes.
0 commit comments