From 032ae5ccfd530f5b4de1face5cb190c0f20be5d9 Mon Sep 17 00:00:00 2001 From: Marcin Rudolf Date: Fri, 29 Sep 2023 00:01:16 +0200 Subject: [PATCH] adds size_in_bytes in FileItem --- dlt/common/storages/filesystem.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dlt/common/storages/filesystem.py b/dlt/common/storages/filesystem.py index ef670c784a..55711fa4fb 100644 --- a/dlt/common/storages/filesystem.py +++ b/dlt/common/storages/filesystem.py @@ -19,6 +19,7 @@ class FileItem(TypedDict): file_name: str mime_type: str modification_date: pendulum.DateTime + size_in_bytes: int file_content: Optional[Union[str, bytes]]