Skip to content

Commit 0669cc6

Browse files
Merge pull request #40 from planetlabs/carl/formatting
fix formatting
2 parents 34e3262 + f8521d0 commit 0669cc6

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

src/planet_auth_utils/plauth_factory.py

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -269,22 +269,24 @@ def initialize_auth_client_context(
269269
application developer, and are given the highest priority. Internally, the
270270
priority used for the source of any particular configuration values is, from
271271
highest to lowest priority, as follows:
272-
- Arguments to this function.
273-
- Environment variables.
274-
- Values from configuration file.
275-
- Built-in defaults.
272+
273+
- Arguments to this function.
274+
- Environment variables.
275+
- Values from configuration file.
276+
- Built-in defaults.
276277
277278
In constructing the returned Auth context, the following priority is applied, from
278279
highest to lowest:
279-
- A user selected auth profile, as specified by `auth_profile_opt`. This may either
280-
specify a built-in profile name, or a fully custom profile defined by files in
281-
a `~/.planet/<profile name>` directory.
282-
- A user selected OAuth service account, as specified by `auth_client_id_opt` and `auth_client_secret_opt`.
283-
- A user specified API key, as specified by `auth_api_key_opt`
284-
- A user selected auth profile, as determined from either environment variables or config files.
285-
- A user selected OAuth service account, as determined from either environment variables or config files.
286-
- A user selected API key, as determined from either environment variables or config files.
287-
- A built-in default auth profile, which may require interactive user authentication.
280+
281+
- A user selected auth profile, as specified by `auth_profile_opt`. This may either
282+
specify a built-in profile name, or a fully custom profile defined by files in
283+
a `~/.planet/<profile name>` directory.
284+
- A user selected OAuth service account, as specified by `auth_client_id_opt` and `auth_client_secret_opt`.
285+
- A user specified API key, as specified by `auth_api_key_opt`
286+
- A user selected auth profile, as determined from either environment variables or config files.
287+
- A user selected OAuth service account, as determined from either environment variables or config files.
288+
- A user selected API key, as determined from either environment variables or config files.
289+
- A built-in default auth profile, which may require interactive user authentication.
288290
289291
Example:
290292
```python

0 commit comments

Comments
 (0)