jina-ai / jina

☁️ Build multimodal AI applications with cloud-native stack
https://docs.jina.ai
Apache License 2.0
20.87k stars 2.22k forks source link

feat: executor singleton doc #5991

Closed JoanFM closed 1 year ago

JoanFM commented 1 year ago

Allow to serve Executors that run on single BaseDoc and not on DocList

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

codecov[bot] commented 1 year ago

Codecov Report

Merging #5991 (f91cba5) into master (4b4c4ac) will decrease coverage by 18.37%. Report is 3 commits behind head on master. The diff coverage is 30.33%.

@@             Coverage Diff             @@
##           master    #5991       +/-   ##
===========================================
- Coverage   78.28%   59.92%   -18.37%     
===========================================
  Files         144      142        -2     
  Lines       13587    13645       +58     
===========================================
- Hits        10637     8177     -2460     
- Misses       2950     5468     +2518     
Flag Coverage Δ
jina 59.92% <30.33%> (-18.37%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
jina/clients/base/http.py 68.37% <0.00%> (-27.24%) :arrow_down:
...ina/serve/runtimes/gateway/graph/topology_graph.py 64.36% <0.00%> (-12.45%) :arrow_down:
...ve/runtimes/gateway/http_fastapi_app_docarrayv2.py 0.00% <0.00%> (ø)
jina/serve/runtimes/helper.py 15.83% <0.00%> (-9.61%) :arrow_down:
jina/serve/runtimes/worker/http_fastapi_app.py 0.00% <0.00%> (-87.50%) :arrow_down:
jina/serve/stream/__init__.py 67.66% <ø> (-19.77%) :arrow_down:
jina/serve/runtimes/gateway/request_handling.py 50.71% <14.28%> (-40.27%) :arrow_down:
jina/clients/mixin.py 45.22% <33.33%> (-51.18%) :arrow_down:
jina/serve/executors/__init__.py 56.35% <41.66%> (-21.64%) :arrow_down:
jina/serve/runtimes/worker/request_handling.py 50.86% <58.33%> (-32.45%) :arrow_down:
... and 1 more

... and 72 files with indirect coverage changes

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.