wellapi 0.7.2__tar.gz → 0.7.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wellapi-0.7.2 → wellapi-0.7.4}/PKG-INFO +1 -1
- {wellapi-0.7.2 → wellapi-0.7.4}/pyproject.toml +1 -1
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/build/cdk.py +8 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/local/server.py +3 -4
- {wellapi-0.7.2 → wellapi-0.7.4}/uv.lock +1 -1
- {wellapi-0.7.2 → wellapi-0.7.4}/.github/workflows/build.pipeline.yml +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/.gitignore +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/.python-version +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/README.md +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/__init__.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/__main__.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/applications.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/awsmodel.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/build/__init__.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/build/packager.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/cli/__init__.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/cli/main.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/convertors.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/datastructures.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/dependencies/__init__.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/dependencies/models.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/dependencies/utils.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/exception_handlers.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/exceptions.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/local/__init__.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/local/router.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/middleware/__init__.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/middleware/base.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/middleware/cors.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/middleware/error.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/middleware/exceptions.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/middleware/main.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/models.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/openapi/__init__.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/openapi/docs.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/openapi/models.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/openapi/utils.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/params.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/routing.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/security.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/testclient.py +0 -0
- {wellapi-0.7.2 → wellapi-0.7.4}/src/wellapi/utils.py +0 -0
|
@@ -149,6 +149,14 @@ class WellApiCDK(Construct):
|
|
|
149
149
|
],
|
|
150
150
|
)
|
|
151
151
|
|
|
152
|
+
self.lambda_role.add_to_policy(
|
|
153
|
+
iam.PolicyStatement(
|
|
154
|
+
effect=iam.Effect.ALLOW,
|
|
155
|
+
actions=["sqs:ListQueues", "sqs:SendMessage"],
|
|
156
|
+
resources=["*"],
|
|
157
|
+
)
|
|
158
|
+
)
|
|
159
|
+
|
|
152
160
|
lmbd: Lambda
|
|
153
161
|
for lmbd in wellapi_app.lambdas:
|
|
154
162
|
lambda_function = _lambda.Function(
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import tomllib
|
|
3
|
+
from urllib.parse import parse_qsl
|
|
3
4
|
|
|
4
5
|
from wellapi.local.router import Router
|
|
5
6
|
|
|
@@ -164,10 +165,8 @@ def create_api_event(method, path, body, headers_row, query_string):
|
|
|
164
165
|
# Парсимо query параметри
|
|
165
166
|
if query_string:
|
|
166
167
|
query_params = {}
|
|
167
|
-
for
|
|
168
|
-
|
|
169
|
-
key, value = param.split("=")
|
|
170
|
-
query_params.setdefault(key, []).append(value)
|
|
168
|
+
for key, value in parse_qsl(query_string, keep_blank_values=True):
|
|
169
|
+
query_params.setdefault(key, []).append(value)
|
|
171
170
|
event["multiValueQueryStringParameters"] = query_params
|
|
172
171
|
else:
|
|
173
172
|
event["multiValueQueryStringParameters"] = {}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|