Skip to content
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

Add Kernel.get_parent to match set_parent #661

Merged
merged 1 commit into from
May 7, 2021

Conversation

minrk
Copy link
Member

@minrk minrk commented May 7, 2021

the now-deprecated _parent_header was actually the parent message, but we don't need to keep having that mismatch in a new public API.

instead of get_parent_header, since it's actually returning the parent message not the parent header

Alternative to #660, which stores and returns just the header instead of the whole request.

We've only ever used the header, so either one ought to work fine

I think I have a slight preference for this one over #660, but I don't think it makes much difference. If we find that we ever need public API access to the content or metadata of the request, only this one will do.

closes #660

instead of get_parent_header, since it's actually returning the parent *message* not the parent header
@SylvainCorlay
Copy link
Member

LGTM. Indeed, symetry is nicer.

@blink1073 blink1073 added this to the 6.0 milestone May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants