-
Notifications
You must be signed in to change notification settings - Fork 657
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
Make setters and getters optional #1690
Conversation
e6bbc99
to
48f1ede
Compare
8c59877
to
6ef4756
Compare
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
) -> None: | ||
"""Uses the configured propagator to inject a Context into the carrier. | ||
|
||
Args: | ||
set_in_carrier: A setter function that can set values | ||
setter: A `Setter` object that can set values |
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.
This should be moved to below the context, ditto with the getter documentation above.
setter: A `Setter` object that can set values | |
setter: An optional `Setter` object that can set values |
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.
LGTM
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.
I resolved comments that were impossible to address, so just switching Dict
to Mapping
/MutableMapping
remain
@aabmass @lonewolf3739 addressed the remaining comments, please take a quick look. |
LGTM. |
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.
LGTM
This PR makes optional the setters and getters from
inject
andextract
.Fixes #1644
Description
Removes setters and getters
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Contrib Repo Change?
Checklist: