From f8521d0bae637d2faf157730dc7c1e292bab16a2 Mon Sep 17 00:00:00 2001 From: "Carl A. Adams" Date: Wed, 28 May 2025 15:49:22 -0700 Subject: [PATCH] fix formatting --- src/planet_auth_utils/plauth_factory.py | 28 +++++++++++++------------ 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/planet_auth_utils/plauth_factory.py b/src/planet_auth_utils/plauth_factory.py index e7ba187..7568743 100644 --- a/src/planet_auth_utils/plauth_factory.py +++ b/src/planet_auth_utils/plauth_factory.py @@ -269,22 +269,24 @@ def initialize_auth_client_context( application developer, and are given the highest priority. Internally, the priority used for the source of any particular configuration values is, from highest to lowest priority, as follows: - - Arguments to this function. - - Environment variables. - - Values from configuration file. - - Built-in defaults. + + - Arguments to this function. + - Environment variables. + - Values from configuration file. + - Built-in defaults. In constructing the returned Auth context, the following priority is applied, from highest to lowest: - - A user selected auth profile, as specified by `auth_profile_opt`. This may either - specify a built-in profile name, or a fully custom profile defined by files in - a `~/.planet/` directory. - - A user selected OAuth service account, as specified by `auth_client_id_opt` and `auth_client_secret_opt`. - - A user specified API key, as specified by `auth_api_key_opt` - - A user selected auth profile, as determined from either environment variables or config files. - - A user selected OAuth service account, as determined from either environment variables or config files. - - A user selected API key, as determined from either environment variables or config files. - - A built-in default auth profile, which may require interactive user authentication. + + - A user selected auth profile, as specified by `auth_profile_opt`. This may either + specify a built-in profile name, or a fully custom profile defined by files in + a `~/.planet/` directory. + - A user selected OAuth service account, as specified by `auth_client_id_opt` and `auth_client_secret_opt`. + - A user specified API key, as specified by `auth_api_key_opt` + - A user selected auth profile, as determined from either environment variables or config files. + - A user selected OAuth service account, as determined from either environment variables or config files. + - A user selected API key, as determined from either environment variables or config files. + - A built-in default auth profile, which may require interactive user authentication. Example: ```python