Replies: 3 comments 1 reply
-
The example is not very clear on this but I removed the second Worker() from the workers list and the error was gone. |
Beta Was this translation helpful? Give feedback.
-
This python worker is deprecate and not being maintained. Please use the python worker available here for an updated integration. |
Beta Was this translation helpful? Give feedback.
-
Hey @pjanzen, we're working on some internal changes for the Python SDK that will address your issue. Stay tuned :) I think there might be better ways of using workers btw, you have two options:
Mixing both approaches is counter intuitive IMO. What is the point of having Next release should avoid that but for now, if you want multiple workers of the same type, you can just replicate them by actually creating a new object for each. Example:
When you create a worker from a function while using a method from another class reference (e.g. |
Beta Was this translation helpful? Give feedback.
-
Hi All,
Following this readme I created a python worker.
simple_python_worker.py
client_worker.py
The above code executes generated tasks but it also fails tasks.
I am at a loss why this happens. Anybody here that have some pointers of a solution?
Regards,
Paul.
Beta Was this translation helpful? Give feedback.
All reactions