- class docarray.array.mixins.io.pushpull.PushPullMixin¶
DocumentArrayvia Jina Cloud Service
- push(token, show_progress=False)¶
Push this DocumentArray object to Jina Cloud which can be later retrieved via
Push with the same
tokenwill override the existing content.
Kinda like a public clipboard where everyone can override anyone’s content. So to make your content survive longer, you may want to use longer & more complicated token.
The lifetime of the content is not promised atm, could be a day, could be a week. Do not use it for persistence. Only use this full temporary transmission/storage/clipboard.
str) – a key that later can be used for retrieve this
bool) – if to show a progress bar on pulling
- Return type