Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AmazonBedrockStructureConfig with helper params #882

Merged
merged 6 commits into from
Jun 21, 2024
Merged

Conversation

vachillo
Copy link
Member

No description provided.

Copy link

codecov bot commented Jun 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@vachillo vachillo marked this pull request as ready for review June 20, 2024 21:22
Comment on lines 28 to 36
region: Optional[str] = field(
default=Factory(lambda: os.environ.get("AWS_DEFAULT_REGION")), metadata={"serializable": True}, kw_only=True
)
access_key_id: Optional[str] = field(
default=Factory(lambda: os.environ.get("AWS_ACCESS_KEY_ID")), metadata={"serializable": False}, kw_only=True
)
secret_access_key: Optional[str] = field(
default=Factory(lambda: os.environ.get("AWS_SECRET_ACCESS_KEY")), metadata={"serializable": False}, kw_only=True
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need these. All Drivers that use boto only accept a session. Users can configure that however they like (region, keys, role, etc).

collindutter
collindutter previously approved these changes Jun 21, 2024
@vachillo vachillo merged commit cff3f79 into dev Jun 21, 2024
10 checks passed
@vachillo vachillo deleted the bedrock_config branch June 21, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants