Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit e0deb55

Browse files
author
bweigel
committed
adds default values to Sns fields
1 parent 054524e commit e0deb55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aws_dataclasses/sns_event.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ def parse_message_attributes(attrs):
1111

1212
class Sns:
1313
def __init__(self, signature_version: str, timestamp: str, signature: str, signing_cert_url: str,
14-
message_id: str, message: str, subject: str, message_attributes: Dict[str, MessageAttribute],
15-
type_: str, unsubscribe_url: str, topic_arn: str):
14+
message_id: str, message: str, subject: str, message_attributes: Dict[str, MessageAttribute] = None,
15+
type_: str = None, unsubscribe_url: str = None, topic_arn: str = None):
1616
self._signature_version = signature_version
1717
self._timestamp = timestamp
1818
self._signature = signature

0 commit comments

Comments
 (0)