Skip to content

Commit 129714f

Browse files
author
Prince Grover
committed
fix: Align Config aws_region default with documented default
The docstring, usage example, and test_config_defaults all state the default region is us-west-2, but the code fell back to us-east-1 when AWS_REGION was unset. CI sets only AWS_DEFAULT_REGION, so the test failed once dependency installation was fixed (previously pytest died at collection before reaching it). Align the code with the documented default.
1 parent 1b2c358 commit 129714f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/amazon_sop_bench/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Config:
3333

3434
# AWS Settings
3535
aws_region: str = field(
36-
default_factory=lambda: os.getenv("AWS_REGION", "us-east-1")
36+
default_factory=lambda: os.getenv("AWS_REGION", "us-west-2")
3737
)
3838
aws_model_id: str = field(
3939
default_factory=lambda: os.getenv(

0 commit comments

Comments
 (0)