We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f747248 commit 78204afCopy full SHA for 78204af
1 file changed
lambda_sample_events/sample_event.py
@@ -23,7 +23,18 @@
23
]
24
25
class SampleEvent(object):
26
- """ Generates a sample event for the given service name """
+ """
27
+ Generates a sample event for the given service name
28
+
29
+ Args:
30
+ service_name (str): The name of a supported service. See README.md.
31
32
+ Attributes:
33
+ event (str): Returns a JSON event for the specified service.
34
35
+ Raises:
36
+ UnknownServiceError: An unsupported service name was used. See README.md.
37
38
def __init__(self, service_name):
39
self.event = SampleEvent.load_event(service_name)
40
0 commit comments