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.
This commit is contained in:
Roderik-WU
2025-08-08 19:01:32 +02:00
committed by GitHub
parent ff08759a1a
commit fcc2c080da
+1 -1
View File
@@ -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())
'''
"""