-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat: allow to access parameters of data request wo loading data #4991
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
Conversation
c7a83db
to
3b7442e
Compare
Codecov Report
@@ Coverage Diff @@
## master #4991 +/- ##
==========================================
- Coverage 87.92% 87.88% -0.05%
==========================================
Files 111 111
Lines 8862 8870 +8
==========================================
+ Hits 7792 7795 +3
- Misses 1070 1075 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
what was the error?
Co-authored-by: Johannes Messner <44071807+JohannesMessner@users.noreply.github.com>
Context
This pr is the direct follow up of #4950.
The last pr allow us to access the parameters of the DataRequest wo loading the data( DocumentArray).
We need sometime to set the parameters wo loading the data as well. Especially for #4939
What this pr do:
This PR allow to set the parameters wo loading the data.
Now the parameters property setters call proto_wo_data under the hood.
I refactor the code so that
_pb_body
can either be a DataRequestProto or a DataRequestProtoWoData