We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f56dc25 commit 255c9e1Copy full SHA for 255c9e1
samtranslator/model/eventsources/push.py
@@ -1,5 +1,4 @@
1
import copy
2
-import json
3
import re
4
from six import string_types
5
from samtranslator.model import ResourceMacro, PropertyType
@@ -995,7 +994,6 @@ def to_cloudformation(self, **kwargs):
995
994
996
def _inject_lambda_config(self, function, userpool):
997
event_triggers = self.Trigger
998
-
999
if isinstance(self.Trigger, string_types):
1000
event_triggers = [self.Trigger]
1001
0 commit comments