wellapi 0.3.3__tar.gz → 0.3.7__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.
Files changed (39) hide show
  1. {wellapi-0.3.3 → wellapi-0.3.7}/PKG-INFO +1 -1
  2. {wellapi-0.3.3 → wellapi-0.3.7}/pyproject.toml +1 -1
  3. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/build/cdk.py +8 -0
  4. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/local/router.py +1 -2
  5. {wellapi-0.3.3 → wellapi-0.3.7}/uv.lock +1 -1
  6. {wellapi-0.3.3 → wellapi-0.3.7}/.github/workflows/build.pipeline.yml +0 -0
  7. {wellapi-0.3.3 → wellapi-0.3.7}/.gitignore +0 -0
  8. {wellapi-0.3.3 → wellapi-0.3.7}/.python-version +0 -0
  9. {wellapi-0.3.3 → wellapi-0.3.7}/README.md +0 -0
  10. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/__init__.py +0 -0
  11. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/__main__.py +0 -0
  12. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/applications.py +0 -0
  13. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/build/__init__.py +0 -0
  14. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/build/packager.py +0 -0
  15. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/cli/__init__.py +0 -0
  16. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/cli/main.py +0 -0
  17. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/convertors.py +0 -0
  18. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/datastructures.py +0 -0
  19. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/dependencies/__init__.py +0 -0
  20. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/dependencies/models.py +0 -0
  21. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/dependencies/utils.py +0 -0
  22. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/exceptions.py +0 -0
  23. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/local/__init__.py +0 -0
  24. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/local/reloader.py +0 -0
  25. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/local/server.py +0 -0
  26. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/middleware/__init__.py +0 -0
  27. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/middleware/base.py +0 -0
  28. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/middleware/error.py +0 -0
  29. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/middleware/exceptions.py +0 -0
  30. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/middleware/main.py +0 -0
  31. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/models.py +0 -0
  32. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/openapi/__init__.py +0 -0
  33. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/openapi/docs.py +0 -0
  34. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/openapi/models.py +0 -0
  35. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/openapi/utils.py +0 -0
  36. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/params.py +0 -0
  37. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/routing.py +0 -0
  38. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/security.py +0 -0
  39. {wellapi-0.3.3 → wellapi-0.3.7}/src/wellapi/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wellapi
3
- Version: 0.3.3
3
+ Version: 0.3.7
4
4
  Summary: A simple web framework for aws lambda
5
5
  Author-email: romayuhym <romayuhym@gmail.com>
6
6
  Requires-Python: >=3.12
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "wellapi"
3
- version = "0.3.3"
3
+ version = "0.3.7"
4
4
  description = "A simple web framework for aws lambda"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -39,6 +39,10 @@ class WellApiCDK(Construct):
39
39
  *,
40
40
  app_srt: str,
41
41
  handlers_dir: str,
42
+ vpc = None,
43
+ vpc_subnets = None,
44
+ sg = None,
45
+ environment: dict | None = None,
42
46
  cors: bool = False,
43
47
  cache_enable: bool = False,
44
48
  log_enable: bool = False,
@@ -78,6 +82,10 @@ class WellApiCDK(Construct):
78
82
  timeout=Duration.seconds(lmbd.timeout),
79
83
  code=code_layer,
80
84
  layers=shared_layer, # type: ignore
85
+ vpc=vpc,
86
+ vpc_subnets=vpc_subnets,
87
+ security_groups=sg,
88
+ environment=environment,
81
89
  )
82
90
 
83
91
  if lmbd.type_ == "endpoint":
@@ -79,9 +79,8 @@ class Router:
79
79
  return route
80
80
 
81
81
  def discover_handlers(self, app_srt, path_to_handlers_dir):
82
- load_handlers(path_to_handlers_dir)
83
-
84
82
  app = import_app(app_srt)
83
+ load_handlers(path_to_handlers_dir)
85
84
 
86
85
  self.routes = []
87
86
  e: Lambda
@@ -328,7 +328,7 @@ wheels = [
328
328
 
329
329
  [[package]]
330
330
  name = "wellapi"
331
- version = "0.3.3"
331
+ version = "0.3.7"
332
332
  source = { editable = "." }
333
333
  dependencies = [
334
334
  { name = "email-validator" },
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