You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
249 B

import sentry_sdk
from app.core.celery_app import celery_app
from app.core.config import settings
sentry_sdk.init(dsn=settings.SENTRY_DSN)
@celery_app.task(acks_late=True)
def test_celery(word: str) -> str:
return f"test task return {word}"