@@ -722,7 +722,8 @@ def cancel(self):
722722 _awscrt .s3_meta_request_cancel (self )
723723
724724 def write (self , data , eof = False ):
725- """Write data to the request body.
725+ """
726+ Write data to the request body.
726727
727728 This method is only available when the request was created with
728729 ``send_using_async_writes=True``. Use this to stream the request body
@@ -739,7 +740,7 @@ def write(self, data, eof=False):
739740 WARNING: This feature is experimental/unstable.
740741
741742 Args:
742- data (bytes-like ): The data to send (bytes, bytearray, or memoryview) .
743+ data (bytes): The data to send. Also accepts bytearray or memoryview.
743744 Can be any size. If there's not enough data to upload a part,
744745 the data will be copied to a buffer and the future will
745746 immediately complete.
@@ -758,7 +759,7 @@ def write(self, data, eof=False):
758759
759760
760761class S3ResponseError (awscrt .exceptions .AwsCrtError ):
761- '''
762+ """
762763 An error response from S3.
763764
764765 Subclasses :class:`awscrt.exceptions.AwsCrtError`.
@@ -776,7 +777,7 @@ class S3ResponseError(awscrt.exceptions.AwsCrtError):
776777 code (int): CRT error code.
777778 name (str): CRT error name.
778779 message (str): CRT error message.
779- '''
780+ """
780781
781782 def __init__ (self , * ,
782783 code : int ,
@@ -794,10 +795,10 @@ def __init__(self, *,
794795
795796
796797class _S3WriteDataFuture :
797- '''
798+ """
798799 Private class used as the callback target for S3 meta request write operations.
799800 The C layer calls _set_write_result() when the write completes.
800- '''
801+ """
801802
802803 def __init__ (self ):
803804 self .future = Future ()
0 commit comments