Skip to content

Fix base URL handling #1143

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

Open
asonnenschein opened this issue May 20, 2025 · 0 comments
Open

Fix base URL handling #1143

asonnenschein opened this issue May 20, 2025 · 0 comments
Milestone

Comments

@asonnenschein
Copy link
Contributor

Problem
Planet API base URLs are currently hardcoded in-line source code and point to production systems, which makes it difficult for internal contributors (like Planet employees) to test and run other procedures against environments other than production.

Solution
Make base URLs in the Python SDK configurable parameters, with defaults that point to production systems for users.

A/C

  • CLI supports optional arguments for running commands against custom API base URLs. If no base URL is provided, then the CLI should default to production systems.
  • SDK supports optional arguments for configuring to use custom API base URLs. If no base URL is provided, then the SDK should default to production systems.
  • Update docs.
@asonnenschein asonnenschein added this to the 3.0.0 Release milestone May 20, 2025
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

No branches or pull requests

1 participant