From 66424fa34c9ee6d6c945112a9c6f5ed15c87ee85 Mon Sep 17 00:00:00 2001 From: wiki0831 Date: Wed, 9 Apr 2025 23:44:34 -0400 Subject: [PATCH] minor doc improvement --- CONTRIBUTING.md | 2 +- DESIGN.md | 4 ++-- planet/http.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 92fc0b5a9..85541bf94 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,7 +65,7 @@ Install YAPF in your local dev environment: In this repository, Nox is used to automate testing, linting, and to build documentation. Nox manages virtual environments for you, specifying Python -versions and installing the the local, dynamic version of the Plant SDK for +versions and installing the local, dynamic version of the Planet SDK for Python and required development packages. To run nox with the default sessions (same checks as CI: lint, analyze, test, diff --git a/DESIGN.md b/DESIGN.md index be8f7b070..370b684fe 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -17,7 +17,7 @@ operations are supported. The principles of the interface design, ordered according to priority, are: * Map the API names and endpoints as close as possible -* Synchronoize the Python API and CLI +* Synchronize the Python API and CLI * Adhere to command line design in: * Popular SDKs (aws and gcloud) * The geospatial toolset (gdal, rasterio) @@ -51,5 +51,5 @@ that can be returned at the end of running a Planet CLI command. | Value | Description | | ----------- | ----------- | | 0 | Command was run successfully. | -| 1 | An error occured while the command was running. | +| 1 | An error occurred while the command was running. | | 2 | Command was not run due to invalid syntax or unknown or invalid parameter.| diff --git a/planet/http.py b/planet/http.py index e345f2e90..2fabe2466 100644 --- a/planet/http.py +++ b/planet/http.py @@ -165,7 +165,7 @@ async def throttle(self): break elif now - self._last_call >= self.cadence: LOGGER.debug( - f'Throught throttle, delta: {now - self._last_call}') + f'Through throttle, delta: {now - self._last_call}') self._last_call = now break await asyncio.sleep(self.retry_interval)