-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add client to deployment #5590
Conversation
feat: add client to deployment test: fix Deployment test: deployment tests explicitly disable gateway feat: add hot reload to deployment test: add test for deployment uses test: add test for deployment reload style: fix overload and cli autocomplete fix: fix reload chore: close logger test: add test for dynamic batching of deployment fix: recreate exactly the same deployment on reload style: fix overload and cli autocomplete test: fix test for deployment dynamic batching feat: add Client to Deployment style: fix overload and cli autocomplete chore: remove protocol parameter refactor: executor serve uses deployment style: fix overload and cli autocomplete chore: apply suggestion style: fix overload and cli autocomplete style: fix overload and cli autocomplete test: add test for client of Deployment docs: update Executor serve documentation test: fix serve test docs: update docs docs: change Deployment serve chore: apply suggestions from code review Co-authored-by: Alex Cureton-Griffiths <alexcg1@users.noreply.github.com> chore: apply suggestion docs: add hint for block() test: keep deployment dynamic batching with block docs: fix hint with code
Codecov Report
@@ Coverage Diff @@
## master #5590 +/- ##
==========================================
- Coverage 87.06% 77.31% -9.75%
==========================================
Files 124 122 -2
Lines 9931 9893 -38
==========================================
- Hits 8646 7649 -997
- Misses 1285 2244 +959
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@@ -59,7 +58,8 @@ class MyExec(Executor): | |||
|
|||
|
|||
with Deployment(uses=MyExec, port=12345, replicas=2) as dep: | |||
dep.block() | |||
docs = dep.post(inputs=DocumentArray.empty(1), on='/foo') | |||
print(docs.texts) | |||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
example of output?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 Docs are deployed on https://feat-add-client-deployment--jina-docs.netlify.app 🎉 |
based on: #5574
closes: #5551