Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,6 @@ def try_adopt_task_instances(self, tis: Sequence[TaskInstance]) -> Sequence[Task

celery_tasks = {}
not_adopted_tis = []

for ti in tis:
if ti.external_executor_id is not None:
celery_tasks[ti.external_executor_id] = (AsyncResult(ti.external_executor_id), ti)
Expand Down
2 changes: 1 addition & 1 deletion providers/microsoft/azure/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ dependencies = [
"azure-keyvault-secrets>=4.1.0",
"azure-mgmt-datalake-store>=0.5.0",
"azure-mgmt-resource>=2.2.0",
"azure-storage-blob>=12.14.0",
"azure-storage-blob>=12.26.0",
"azure-mgmt-storage>=16.0.0",
"azure-storage-file-share>=12.7.0",
"azure-servicebus>=7.12.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
if TYPE_CHECKING:
from azure.core.credentials import TokenCredential
from azure.storage.blob._models import BlobProperties
from azure.storage.blob.aio._list_blobs_helper import BlobPrefix

AsyncCredentials = AsyncClientSecretCredential | AsyncDefaultAzureCredential

Expand Down Expand Up @@ -712,7 +713,7 @@ async def get_blobs_list_async(
include: list[str] | None = None,
delimiter: str = "/",
**kwargs: Any,
) -> list[BlobProperties]:
) -> list[BlobProperties | BlobPrefix]:
"""
List blobs in a given container.

Expand All @@ -725,7 +726,7 @@ async def get_blobs_list_async(
:param delimiter: filters objects based on the delimiter (for e.g '.csv')
"""
container = self._get_container_client(container_name)
blob_list: list[BlobProperties] = []
blob_list: list[BlobProperties | BlobPrefix] = []
blobs = container.walk_blobs(name_starts_with=prefix, include=include, delimiter=delimiter, **kwargs)
async for blob in blobs:
blob_list.append(blob)
Expand Down