Release v1.0.0
Some checks failed
CI / Checks (push) Failing after 13m2s

This commit is contained in:
2025-08-20 21:00:50 +02:00
commit b4338e2769
401 changed files with 23576 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
from __future__ import annotations
import logging
import uuid
from celery import shared_task
LOGGER = logging.getLogger(__name__)
@shared_task
def import_from_pocket(*,
account_uuid: uuid.UUID,
csv_path: str,
) -> list[tuple[uuid.UUID, uuid.UUID]]:
from hotpocket_backend.apps.ui.services import UIImportsService
try:
return UIImportsService().import_from_pocket(
account_uuid=account_uuid,
csv_path=csv_path,
)
except Exception as exception:
LOGGER.error('Unhandled exception: %s', exception, exc_info=exception)
raise exception