Skip to content

Commit 700bcd3

Browse files
fix: add future annotations for Python 3.8 compatibility
tuple[str, str] type hint in get_bedrock_config() is not subscriptable on Python 3.8. Adding from __future__ import annotations defers evaluation and fixes the TypeError. Made-with: Cursor
1 parent 9cf7a83 commit 700bcd3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cli/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""Configuration parsing and validation."""
22

3+
from __future__ import annotations
4+
35
import os
46
import re
57
from typing import List, Optional

0 commit comments

Comments
 (0)