add celery
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-01-19 00:56:25 +08:00
1 parent 9a75d27494
commit 7309ebb48b
2 files changed
+9 -3

No files matched your search

+5 -1
View File
@@ -29,7 +29,11 @@ def process(self: Task, total: int) -> object:
@shared_task(include_result=False)
def process_message_callback(client, bitable_token, table_id, cache_dir, data) -> None:
def process_message_callback(
app_id, app_secret, bitable_token, table_id, cache_dir, data
) -> None:
client = lark.Client.builder().app_id(app_id).app_secret(app_secret).build()
record = {}
images = []
images_token = []