Skip to content

Commit e21e00d

Browse files
committed
Corrected docstrings
1 parent 9ef87ea commit e21e00d

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

examples/src/one_kms_cmk.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@
1717
def encrypt_decrypt(key_arn, source_plaintext, botocore_session=None):
1818
"""Encrypts and then decrypts a string under one KMS customer master key (CMK).
1919
20-
:param str key_arn: Amazon Resource Name (ARN) of the KMS CMK
21-
:param bytes source_plaintext: Data to encrypt
22-
:param botocore_session: existing botocore session instance
23-
:type botocore_session: botocore.session.Session
24-
"""
25-
20+
:param str key_arn: Amazon Resource Name (ARN) of the KMS CMK
21+
:param bytes source_plaintext: Data to encrypt
22+
:param botocore_session: existing botocore session instance
23+
:type botocore_session: botocore.session.Session
24+
"""
2625
kwargs = dict(key_ids=[key_arn])
2726

2827
if botocore_session is not None:

examples/src/one_kms_cmk_streaming_data.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@
1919
def encrypt_decrypt_stream(key_arn, source_plaintext_filename, botocore_session=None):
2020
"""Encrypts and then decrypts streaming data under one KMS customer master key (CMK).
2121
22-
:param str key_arn: Amazon Resource Name (ARN) of the KMS CMK
23-
:param str source_plaintext_filename: Filename of file to encrypt
24-
:param botocore_session: existing botocore session instance
25-
:type botocore_session: botocore.session.Session
26-
"""
27-
22+
:param str key_arn: Amazon Resource Name (ARN) of the KMS CMK
23+
:param str source_plaintext_filename: Filename of file to encrypt
24+
:param botocore_session: existing botocore session instance
25+
:type botocore_session: botocore.session.Session
26+
"""
2827
kwargs = dict()
2928

3029
kwargs["key_ids"] = [key_arn]

0 commit comments

Comments
 (0)