pythonasyncioapiasyncfastapiframeworkjsonjson-schemaopenapiopenapi3pydanticpython-typespython3redocreststarletteswaggerswagger-uiuvicornweb
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.
12 lines
264 B
12 lines
264 B
from raven import Client
|
|
|
|
from app.core import config
|
|
from app.core.celery_app import celery_app
|
|
|
|
client_sentry = Client(config.SENTRY_DSN)
|
|
|
|
|
|
@celery_app.task(acks_late=True)
|
|
def test_celery(word: str):
|
|
print("test task")
|
|
return f"test task return {word}"
|
|
|