Skip to content

Commit 51d1e13

Browse files
remove prints
1 parent ac4e9cd commit 51d1e13

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

datadog_lambda/wrapper.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,11 @@ def _before(self, event, context):
244244
event
245245
)
246246
if dd_json_data:
247-
print(f"dd_json_data {dd_json_data}")
248-
print(f"event_source {event_source}")
249-
print(f"arn {arn}")
247+
dd_json_data = json.loads(dd_json_data)
250248

251-
def create_carrier_get(context_json):
249+
def create_carrier_get(dd_json_data):
252250
def carrier_get(key):
253-
return context_json.get(key)
251+
return dd_json_data.get(key)
254252

255253
return carrier_get
256254

0 commit comments

Comments
 (0)