Skip to content

Commit

Permalink
Updating extended metadata if either folder_id or folder_path is not …
Browse files Browse the repository at this point in the history
…given
  • Loading branch information
dristy.cd committed Jul 29, 2024
1 parent 79618dc commit 82ee99d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ def lazy_load(self) -> Iterator[Document]:
for blob in self._load_from_folder(target_folder):
for blob_part in blob_parser.lazy_parse(blob):
blob_part.metadata.update(blob.metadata)
blob_part.metadata.update(
{"source_full_url": target_folder.web_url}
)
yield blob_part

def authorized_identities(self, file_id: str) -> List:
Expand Down

0 comments on commit 82ee99d

Please sign in to comment.