diff --git a/get_blobs_of_file_type/scanner.py b/get_blobs_of_file_type/scanner.py index a48ff5f..a93992a 100644 --- a/get_blobs_of_file_type/scanner.py +++ b/get_blobs_of_file_type/scanner.py @@ -5,7 +5,7 @@ from dataclasses import dataclass from typing import Protocol -from azure.storage.blob import BlobServiceClient +from azure.storage.blob import BlobServiceClient, ContainerClient @dataclass(frozen=True) @@ -31,7 +31,7 @@ def total_size_bytes(self) -> int: class BlobServiceLike(Protocol): """Subset of BlobServiceClient used by the scanner (for testing).""" - def get_container_client(self, container: str): ... + def get_container_client(self, container: str) -> ContainerClient: ... def create_blob_service_client(account_name: str, account_key: str) -> BlobServiceClient: