Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit 2a2604a

Browse files
committed
Fix pipelines errors
1 parent 67d5256 commit 2a2604a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

wolfsoftware/get_aws_regions/functions.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""
2-
This module provides functionalities for retrieving and processing AWS region information
3-
with support for multiple AWS profiles.
2+
This module provides functionalities for retrieving and processing AWS region information with support for multiple AWS profiles.
43
54
Capabilities:
65
- Fetching a list of all AWS regions, with the option to include or exclude regions based on account opt-in status.
@@ -134,7 +133,10 @@ def _fetch_region_descriptions(region_names: List[str], profile_name: Optional[s
134133
descriptions: Dict = {}
135134

136135
with ThreadPoolExecutor() as executor:
137-
future_to_region: Dict[Future[Dict[str, str]], str] = {executor.submit(_fetch_region_description, region, profile_name): region for region in region_names}
136+
future_to_region: Dict[Future[Dict[str, str]], str] = {
137+
executor.submit(_fetch_region_description, region, profile_name): region
138+
for region in region_names
139+
}
138140

139141
for future in as_completed(future_to_region):
140142
region: str = future_to_region[future]

0 commit comments

Comments
 (0)