File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
### Feature
18
18
19
19
- Add support for self hosted serverless gateway
20
+
21
+ ## [ 1.0.2] - 2023-05-05
22
+
23
+ ### Fixed
24
+
25
+ - Fixed decorator nesting that breaks compatibility with local testing framework
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " scw-serverless"
3
- version = " 1.0.1 "
3
+ version = " 1.0.2 "
4
4
description = " Framework for writing serverless APIs in Python, using Scaleway functions and containers."
5
5
authors = [" Scaleway Serverless Team <opensource@scaleway.com>" ]
6
6
readme = " README.md"
Original file line number Diff line number Diff line change @@ -59,10 +59,7 @@ def _decorator(handler: Callable):
59
59
)
60
60
)
61
61
62
- def _inner (* args , ** kwargs ):
63
- return handler (* args , ** kwargs )
64
-
65
- return _inner
62
+ return handler
66
63
67
64
return _decorator
68
65
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ def _check_for_scw_serverless(self):
73
73
or not self .pkg_path .joinpath (__package__ ).exists ()
74
74
):
75
75
# Installs the current version with pip
76
- self ._run_pip_install (f"{ __package__ } = ={ version (__package__ )} " )
76
+ self ._run_pip_install (f"{ __package__ } ~ ={ version (__package__ )} " )
77
77
78
78
def _run_pip_install (self , * args : str ):
79
79
python_path = sys .executable
You can’t perform that action at this time.
0 commit comments