Closed mvsoom closed 1 year ago
Possibly related:
The client code at https://docs.jina.ai/concepts/preliminaries/ also doesn't work. The code belows does work:
from jina import Client
from docarray import DocList
from docarray.documents import TextDoc
c = Client(port=12345)
input = [TextDoc("")]
r = c.post(on='/', inputs=DocList[TextDoc](input), return_type=DocList[TextDoc])
print([d.text for d in r])
I am on prerelease to avoid warnings when importing jina.
Also doesn't work on latest jina (instead of prerelease).
Hey @mvsoom ,
Thanks for the heads up about this, will update this as soon as possible
I'm on latest, pip install --pre jina with Python 3.9.2. I'm following Create first project tutorial. I think that page might be outdated?
jina cloud deploy ./
does not work for either Deployment or Flow choice at the top of the tutorial:Also, the following code cell in the tutorial seems to make little sense for either Deployment or Flow choice
since it appears before deployment in jcloud.