Skip to content

Commit 3b16647

Browse files
committed
address feedback
1 parent ba859e6 commit 3b16647

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

integration/single/test_basic_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def test_basic_function_with_url_dual_auth(self, file_name, qualifier):
183183

184184
# Get the template to check for InvokedViaFunctionUrl property
185185
cfn_client = self.client_provider.cfn_client
186-
template = cfn_client.get_template(StackName=self.stack_name)
186+
template = cfn_client.get_template(StackName=self.stack_name, TemplateStage="Processed")
187187
template_body = template["TemplateBody"]
188188

189189
# Check if the InvokePermission has InvokedViaFunctionUrl: True

samtranslator/compat.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# mypy: ignore-errors
21
try:
32
from pydantic import v1 as pydantic
43

@@ -8,9 +7,9 @@
87
except ImportError:
98
# Unfortunately mypy cannot handle this try/expect pattern, and "type: ignore"
109
# is the simplest work-around. See: https://github.com/python/mypy/issues/1153
11-
import pydantic
10+
import pydantic # type: ignore
1211
except AttributeError:
1312
# Pydantic v1.10.17+
14-
import pydantic
13+
import pydantic # type: ignore
1514

1615
__all__ = ["pydantic"]

0 commit comments

Comments
 (0)