mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
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:
@@ -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())
|
||||
'''
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user