Skip to content

Fix base URL handling #1143

Open
Open
@asonnenschein

Description

@asonnenschein

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions