From 9f1c1ac7874a51be6119f575df6a8c5be384bdd0 Mon Sep 17 00:00:00 2001 From: Jay Chia Date: Tue, 16 Apr 2024 11:24:46 -0700 Subject: [PATCH] Update docstrings --- src/common/io-config/src/python.rs | 2 ++ src/daft-io/src/python.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/io-config/src/python.rs b/src/common/io-config/src/python.rs index 8e395f60b2..a24cf2d443 100644 --- a/src/common/io-config/src/python.rs +++ b/src/common/io-config/src/python.rs @@ -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 { let io_config_from_env_func = py diff --git a/src/daft-io/src/python.rs b/src/daft-io/src/python.rs index d54c7a2c9c..3ce4b59ba3 100644 --- a/src/daft-io/src/python.rs +++ b/src/daft-io/src/python.rs @@ -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 {