Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

record task args#31

Merged
snopoke merged 5 commits intomaintaskbadger/taskbadger-python:mainfrom
sk/record-argstaskbadger/taskbadger-python:sk/record-argsCopy head branch name to clipboard
Feb 10, 2025
Merged

record task args#31
snopoke merged 5 commits intomaintaskbadger/taskbadger-python:mainfrom
sk/record-argstaskbadger/taskbadger-python:sk/record-argsCopy head branch name to clipboard

Conversation

@snopoke
Copy link
Collaborator

@snopoke snopoke commented Feb 10, 2025

Allow recording Celery task args by passing taskbadger_record_task_args=True or using CelerySystemIntegration(record_task_args=True).

Task args are store in the task.data:

{"celery_task_args": [2, 2], "celery_task_kwargs": {"bar": 3}},

Args, and kwargs must be JSON serializable or have custom types registered with Kombu: https://docs.celeryq.dev/projects/kombu/en/stable/userguide/serialization.html#serializers

@snopoke snopoke merged commit b8eafbc into main Feb 10, 2025
5 checks passed
@snopoke snopoke deleted the sk/record-args branch February 10, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.