You've already forked hotpocket
BTHLABS-61: Service layer refactoring
A journey to fix `ValidationError` in Pocket imports turned service layer refactoring :D
This commit is contained in:
@@ -11,6 +11,7 @@ LOGGER = logging.getLogger(__name__)
|
||||
|
||||
@shared_task
|
||||
def import_from_pocket(*,
|
||||
job: str,
|
||||
account_uuid: uuid.UUID,
|
||||
csv_path: str,
|
||||
) -> list[tuple[uuid.UUID, uuid.UUID]]:
|
||||
@@ -18,6 +19,7 @@ def import_from_pocket(*,
|
||||
|
||||
try:
|
||||
return UIImportsService().import_from_pocket(
|
||||
job=job,
|
||||
account_uuid=account_uuid,
|
||||
csv_path=csv_path,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user