Skip to content

Comments

Implement Pangea URL template#654

Closed
pangea-andrest wants to merge 3 commits intomainfrom
PAN-20205-base-url-template
Closed

Implement Pangea URL template#654
pangea-andrest wants to merge 3 commits intomainfrom
PAN-20205-base-url-template

Conversation

@pangea-andrest
Copy link
Contributor

No description provided.

@pangea-andrest pangea-andrest requested a review from a team as a code owner March 18, 2025 20:48
@pangea-andrest pangea-andrest force-pushed the PAN-20205-base-url-template branch from e0eb0f1 to 5119165 Compare March 19, 2025 13:37
@cj-f
Copy link
Contributor

cj-f commented Mar 25, 2025

Is there any way for the caller to also set the header they wish to pass? Specifically I need to be able to set a Host header, when using the SDK inside of PUC and making internal cluster calls

"""Holds run time configuration information used by SDK components."""

domain: str = "aws.us.pangea.cloud"
base_url_template: str = "https://{SERVICE_NAME}.aws.us.pangea.cloud/"
Copy link
Contributor

Choose a reason for hiding this comment

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

It feels unnecessarily risky to me to have this be a breaking change, couldn't Config object allow for either domain or base_url_template keyword parameter, and then this can be added instead of replacing?

@kenany kenany self-assigned this Apr 21, 2025
@kenany
Copy link
Member

kenany commented Apr 21, 2025

Superseded by #674.

@kenany kenany closed this Apr 21, 2025
@kenany kenany deleted the PAN-20205-base-url-template branch July 17, 2025 17:11
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.

3 participants