Skip to content

Commit

Permalink
fix azure connector
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiseck3 committed Oct 2, 2024
1 parent 6cc4765 commit 4de7516
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions unstructured_ingest/v2/processes/connectors/fsspec/azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,8 @@ class AzureIndexer(FsspecIndexer):
def precheck(self) -> None:
super().precheck()

def sterilize_info(self, path) -> dict:
info = self.fs.info(path=path)
return sterilize_dict(data=info, default=azure_json_serial)
def sterilize_info(self, file_data: dict) -> dict:
return sterilize_dict(data=file_data, default=azure_json_serial)

@requires_dependencies(["adlfs", "fsspec"], extras="azure")
def run(self, **kwargs: Any) -> Generator[FileData, None, None]:
Expand Down

0 comments on commit 4de7516

Please sign in to comment.