From fcc2c080da8631a99f4b0b658a486fa9bd906704 Mon Sep 17 00:00:00 2001 From: Roderik-WU Date: Fri, 8 Aug 2025 19:01:32 +0200 Subject: [PATCH] Fix docstring example in load_s3_file_reader to use correct function name (#6349) The usage example in the load_s3_file_reader docstring incorrectly showed `wmill.load_s3_file(...)`. Updated it to `wmill.load_s3_file_reader(...)` to match the actual method being documented. --- python-client/wmill/wmill/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-client/wmill/wmill/client.py b/python-client/wmill/wmill/client.py index 6f3334ef01..f24f2a35ee 100644 --- a/python-client/wmill/wmill/client.py +++ b/python-client/wmill/wmill/client.py @@ -666,7 +666,7 @@ class Windmill: from wmill import S3Object s3_obj = S3Object(s3="/path/to/my_file.txt") - with wmill.load_s3_file(s3object, s3_resource_path) as file_reader: + with wmill.load_s3_file_reader(s3object, s3_resource_path) as file_reader: print(file_reader.read()) ''' """