fixes gsheet feeder<->db connection via context.

This commit is contained in:
msramalho
2025-02-10 16:58:35 +00:00
parent ab6cf52533
commit 12f14cccc9
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
from __future__ import annotations
from abc import abstractmethod
from typing import IO, Optional
from typing import IO
import os
from loguru import logger

View File

@@ -68,7 +68,7 @@ class GsheetsFeeder(Feeder):
folder = os.path.join(folder, slugify(self.sheet), slugify(wks.title))
m.set_context('folder', folder)
m.set_context('worksheet', {"row": row, "worksheet": gw})
m.set_context('gsheet', {"row": row, "worksheet": gw})
yield m
logger.success(f'Finished worksheet {wks.title}')