Skip to content

Commit 4f3f339

Browse files
committed
add docstrings to deprecated properties
1 parent b4bbc1d commit 4f3f339

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/aws_encryption_sdk/streaming_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,11 +755,13 @@ def _read_header(self):
755755

756756
@property
757757
def body_start(self):
758+
"""Log deprecation warning when body_start is accessed."""
758759
_LOGGER.warning("StreamDecryptor.body_start is deprecated and will be removed in 1.4.0")
759760
return self._body_start
760761

761762
@property
762763
def body_end(self):
764+
"""Log deprecation warning when body_end is accessed."""
763765
_LOGGER.warning("StreamDecryptor.body_end is deprecated and will be removed in 1.4.0")
764766
return self._body_end
765767

0 commit comments

Comments
 (0)