Skip to content

Commit

Permalink
Updating extended metada based on folder_id
Browse files Browse the repository at this point in the history
  • Loading branch information
dristy.cd committed Jul 29, 2024
1 parent b7ea815 commit 79618dc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def lazy_load(self) -> Iterator[Document]:
auth_identities = self.authorized_identities(file_id)
if self.load_extended_metadata is True:
extended_metadata = self.get_extended_metadata(file_id)
extended_metadata.update({"source_full_url": target_folder.web_url})
for parsed_blob in blob_parser.lazy_parse(blob):
if self.load_auth is True:
parsed_blob.metadata["authorized_identities"] = auth_identities
Expand Down

0 comments on commit 79618dc

Please sign in to comment.