mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-06 12:07:04 +00:00
fix: Event sending for RayPipeline crashing Haystack (#3971)
* Remove the `send_pipeline_event_if_needed()` to confirm fix * Suspending evnet sending for RayPipelines as it is not compatible * Update base.py * Updating implementation based on feedback from @masci --------- Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>
This commit is contained in:
parent
9009a9ae58
commit
3aa6522564
@ -405,6 +405,11 @@ class RayPipeline(Pipeline):
|
||||
# self.send_pipeline_event_if_needed(is_indexing=file_paths is not None)
|
||||
return node_output
|
||||
|
||||
def send_pipeline_event(self, is_indexing: bool = False):
|
||||
"""To avoid the RayPipeline serialization bug described at
|
||||
https://github.com/deepset-ai/haystack/issues/3970"""
|
||||
pass
|
||||
|
||||
|
||||
class _RayDeploymentWrapper:
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user