Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions get_blobs_of_file_type/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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:
Expand Down
Loading