We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab67a8e commit 25a093aCopy full SHA for 25a093a
sync/awsdatabricks.py
@@ -2,7 +2,7 @@
2
import logging
3
from pathlib import Path
4
from time import sleep
5
-from typing import Iterator, List, Tuple
+from typing import Generator, List, Tuple
6
from urllib.parse import urlparse
7
8
import boto3 as boto
@@ -481,7 +481,7 @@ def _get_ebs_volumes_for_instances(
481
) -> List[dict]:
482
"""Get all ebs volumes associated with a list of instance reservations"""
483
484
- def get_chunk(instance_ids: list, chunk_size: int) -> Iterator[list]:
+ def get_chunk(instance_ids: list[str], chunk_size: int) -> Generator[list[str]]:
485
"""
486
Splits the instance_ids list into chunks of size determined by chunk_size.
487
This function exists to respect thresholds required by the call to
0 commit comments