Skip to content

Commit

Permalink
Update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Chia committed Apr 16, 2024
1 parent 57be6f0 commit 9f1c1ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/common/io-config/src/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ impl S3Config {
}
}

/// Creates an S3Config from the current environment, auto-discovering variables such as
/// credentials, regions and more.
#[staticmethod]
pub fn from_env(py: Python) -> PyResult<Self> {
let io_config_from_env_func = py
Expand Down
2 changes: 1 addition & 1 deletion src/daft-io/src/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ mod py {
Ok(crate::set_io_pool_num_threads(num_threads as usize))
}

/// Creates an IOConfig from the current environment, auto-discovering variables such as
/// Creates an S3Config from the current environment, auto-discovering variables such as
/// credentials, regions and more.
#[pyfunction]
fn s3_config_from_env(py: Python) -> PyResult<common_io_config::python::S3Config> {
Expand Down

0 comments on commit 9f1c1ac

Please sign in to comment.