Skip to content

Fix base URL handling #1143

@asonnenschein

Description

@asonnenschein
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.

Activity

added this to the 3.0.0 Release milestone on May 20, 2025
asonnenschein

asonnenschein commented on Jul 21, 2025

@asonnenschein
ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @asonnenschein

        Issue actions

          Fix base URL handling · Issue #1143 · planetlabs/planet-client-python