deepset-ai / hayhooks

Deploy Haystack pipelines behind a REST Api.
https://haystack.deepset.ai
Apache License 2.0
39 stars 11 forks source link

Removed unneeded 'await' causing error on hayhooks deploy #6

Closed tellmewyatt closed 6 months ago

tellmewyatt commented 6 months ago

This fixes an error I get when running "hayhooks deploy pipeline.yml". The error is "TypeError: object dict can't be used in 'await' expression" from File "/hayhooks/server/handlers/deploy.py", line 7, in deploy return await deploy_pipeline_def(app, pipeline_def)