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 support for meta information #62

Open
rightisleft opened this issue Jun 29, 2021 · 1 comment
Open

Add support for meta information #62

rightisleft opened this issue Jun 29, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@rightisleft
Copy link

rightisleft commented Jun 29, 2021

Description

  • What is the motivation / use case for changing the behavior?

This library should be interoperable with data produced from custom states:

Example here: https://www.distributedpython.com/2018/09/28/celery-task-states/

Given that Worker A needs to consume custom meta information produced by Worker B
When Worker A is looking at a Result
Then there should be a method that exposes an object such a { state: string, meta: any}

  • Proposed Behavior
    add Result.statusState(): { state: string, meta: any} { ... }
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Writing custom states would need to conform to the expected interface in the python library and is likely out of scope for this request.

@rightisleft rightisleft added the enhancement New feature or request label Jun 29, 2021
@rightisleft
Copy link
Author

rightisleft pushed a commit to rightisleft/celery.node that referenced this issue Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant