Skip to content

Commit ec9f5d8

Browse files
CoshUSjfussmndevecimingkun2020qingchm
authored
feat: Accelerate (#3386)
Co-authored-by: Jacob Fuss <[email protected]> Co-authored-by: Mehmet Nuri Deveci <[email protected]> Co-authored-by: mingkun2020 <[email protected]> Co-authored-by: Qingchuan Ma <[email protected]> Co-authored-by: aws-sam-cli-bot <[email protected]>
1 parent eca103a commit ec9f5d8

File tree

167 files changed

+16189
-1728
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+16189
-1728
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,11 @@ env.bak/
307307
venv.bak/
308308
venv-update-reproducible-requirements/
309309

310+
env.*/
311+
venv.*/
312+
.env.*/
313+
.venv.*/
314+
310315
# Spyder project settings
311316
.spyderproject
312317
.spyproject

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ for:
197197
# Runs only in Linux, logging Public ECR when running canary and cred is available
198198
- sh: "
199199
if [[ -n $BY_CANARY ]];
200-
then echo Logging in Public ECR; aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws;
200+
then echo Logging in Public ECR; aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws;
201201
fi"
202202

203203
- sh: "pytest -vv tests/integration"

requirements/base.txt

+7-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,15 @@ docker~=4.2.0
1212
dateparser~=1.0
1313
requests==2.25.1
1414
serverlessrepo==0.1.10
15-
aws_lambda_builders==1.8.1
15+
aws_lambda_builders==1.9.0
1616
tomlkit==0.7.2
1717
watchdog==2.1.2
18+
19+
# Needed for supporting Protocol in Python 3.6
20+
typing_extensions==3.10.0.0
21+
# Needed for supporting dataclasses decorator in Python3.6
22+
dataclasses==0.8; python_version < '3.7'
1823
# NOTE: regex is not a direct dependency of SAM CLI, but pin to 2021.9.30 due to 2021.10.8 not working on M1 Mac - https://bitbucket.org/mrabarnett/mrab-regex/issues/399/missing-wheel-for-macosx-and-the-new-m1
1924
regex==2021.9.30
2025
# NOTE: tzlocal is not a direct dependency of SAM CLI, but pin to 3.0 as 4.0 break appveyor jobs
21-
tzlocal==3.0
26+
tzlocal==3.0

requirements/reproducible-linux.txt

+9-8
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ attrs==20.3.0 \
1212
--hash=sha256:31b2eced602aa8423c2aea9c76a724617ed67cf9513173fd3a4f03e3a929c7e6 \
1313
--hash=sha256:832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700
1414
# via jsonschema
15-
aws-lambda-builders==1.8.1 \
16-
--hash=sha256:21397c8596415506f3c450bbded5a5d361ba40af782034f3b58c17f088cd1410 \
17-
--hash=sha256:7c2672cb9c0b4a5f5f24707ed25808e4920fc87c0ebec4d76dd6c50d02f3aa47 \
18-
--hash=sha256:8fd7be03216fe9eee81875bef5e8d73fd7f5ddbc832646bc0d625a21be75a835
15+
aws-lambda-builders==1.9.0 \
16+
--hash=sha256:1498fb374d3f2e289a78a4843cfcee86f777011cd8d3c29f38826c16239839f9 \
17+
--hash=sha256:335966e9dc19ab37ad9a600dbcf90ecb8d47f1fcffbf83ef6eebe61fcbdd6731 \
18+
--hash=sha256:742a67123dc0ea91983e7a6947dad0f23dff9c958a28da46162ee675ae257273
1919
# via aws-sam-cli (setup.py)
2020
aws-sam-translator==1.39.0 \
2121
--hash=sha256:410d11a14a71f5ecab9cd1c5c4415b3c2419b8a8ee4fb9e887f15bdcc6c7ac38 \
@@ -318,12 +318,13 @@ tomlkit==0.7.2 \
318318
--hash=sha256:173ad840fa5d2aac140528ca1933c29791b79a374a0861a80347f42ec9328117 \
319319
--hash=sha256:d7a454f319a7e9bd2e249f239168729327e4dd2d27b17dc68be264ad1ce36754
320320
# via aws-sam-cli (setup.py)
321-
typing-extensions==3.10.0.2 \
322-
--hash=sha256:49f75d16ff11f1cd258e1b988ccff82a3ca5570217d7ad8c5f48205dd99a677e \
323-
--hash=sha256:d8226d10bc02a29bcc81df19a26e56a9647f8b0a6d4a83924139f4a8b01f17b7 \
324-
--hash=sha256:f1d25edafde516b146ecd0613dabcc61409817af4766fbbcfb8d1ad4ec441a34
321+
typing-extensions==3.10.0.0 \
322+
--hash=sha256:0ac0f89795dd19de6b97debb0c6af1c70987fd80a2d62d1958f7e56fcc31b497 \
323+
--hash=sha256:50b6f157849174217d0656f99dc82fe932884fb250826c18350e159ec6cdf342 \
324+
--hash=sha256:779383f6086d90c99ae41cf0ff39aac8a7937a9283ce0a414e5dd782f4c94a84
325325
# via
326326
# arrow
327+
# aws-sam-cli (setup.py)
327328
# importlib-metadata
328329
tzlocal==3.0 \
329330
--hash=sha256:c736f2540713deb5938d789ca7c3fc25391e9a20803f05b60ec64987cf086559 \

samcli/cli/command.py

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
"samcli.commands.delete",
2323
"samcli.commands.logs",
2424
"samcli.commands.publish",
25+
"samcli.commands.traces",
26+
"samcli.commands.sync",
2527
"samcli.commands.pipeline.pipeline",
2628
# We intentionally do not expose the `bootstrap` command for now. We might open it up later
2729
# "samcli.commands.bootstrap",

samcli/cli/context.py

+9
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def __init__(self):
4444
self._aws_region = None
4545
self._aws_profile = None
4646
self._session_id = str(uuid.uuid4())
47+
self._experimental = False
4748

4849
@property
4950
def debug(self):
@@ -97,6 +98,14 @@ def session_id(self) -> str:
9798
"""
9899
return self._session_id
99100

101+
@property
102+
def experimental(self):
103+
return self._experimental
104+
105+
@experimental.setter
106+
def experimental(self, value):
107+
self._experimental = value
108+
100109
@property
101110
def command_path(self):
102111
"""

0 commit comments

Comments
 (0)