Skip to content

Commit

Permalink
reword docs and make lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjqliu committed Feb 12, 2025
1 parent dfacdcd commit e3d1a63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions mkdocs/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ hide:

There are three ways to pass in configuration:

- Using the `.pyiceberg.yaml` configuration file stored in either the directory specified by the `PYICEBERG_HOME` environment variable, the home directory, or current working directory.
- Using the `.pyiceberg.yaml` configuration file (Recommended)
- Through environment variables
- By passing in credentials through the CLI or the Python API

The configuration file is recommended since that's the easiest way to manage the credentials.
The configuration file can be stored in either the directory specified by the `PYICEBERG_HOME` environment variable, the home directory, or current working directory (in this order).

To change the path searched for the `.pyiceberg.yaml`, you can overwrite the `PYICEBERG_HOME` environment variable.

Expand Down
6 changes: 3 additions & 3 deletions tests/utils/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,6 @@ def create_config_files(
if config_setup.get("config_location") in ["current", "both"]:
monkeypatch.chdir(paths["current"])

assert Config()._from_configuration_files() == expected_result, (
f"Unexpected configuration result for content: {expected_result}"
)
assert (
Config()._from_configuration_files() == expected_result
), f"Unexpected configuration result for content: {expected_result}"

0 comments on commit e3d1a63

Please sign in to comment.