cadwyn 3.15.3a1__tar.gz → 3.15.3a2__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.

Potentially problematic release.


This version of cadwyn might be problematic. Click here for more details.

Files changed (37) hide show
  1. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/PKG-INFO +1 -1
  2. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/routing.py +12 -0
  3. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/pyproject.toml +1 -1
  4. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/LICENSE +0 -0
  5. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/README.md +0 -0
  6. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/__init__.py +0 -0
  7. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/__main__.py +0 -0
  8. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/_asts.py +0 -0
  9. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/_compat.py +0 -0
  10. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/_package_utils.py +0 -0
  11. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/_utils.py +0 -0
  12. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/applications.py +0 -0
  13. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/codegen/README.md +0 -0
  14. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/codegen/__init__.py +0 -0
  15. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/codegen/_common.py +0 -0
  16. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/codegen/_main.py +0 -0
  17. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/codegen/_plugins/__init__.py +0 -0
  18. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/codegen/_plugins/class_migrations.py +0 -0
  19. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/codegen/_plugins/class_rebuilding.py +0 -0
  20. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/codegen/_plugins/class_renaming.py +0 -0
  21. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/codegen/_plugins/import_auto_adding.py +0 -0
  22. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/codegen/_plugins/module_migrations.py +0 -0
  23. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/exceptions.py +0 -0
  24. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/main.py +0 -0
  25. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/middleware.py +0 -0
  26. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/py.typed +0 -0
  27. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/route_generation.py +0 -0
  28. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/static/__init__.py +0 -0
  29. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/static/docs.html +0 -0
  30. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/structure/__init__.py +0 -0
  31. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/structure/common.py +0 -0
  32. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/structure/data.py +0 -0
  33. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/structure/endpoints.py +0 -0
  34. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/structure/enums.py +0 -0
  35. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/structure/modules.py +0 -0
  36. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/structure/schemas.py +0 -0
  37. {cadwyn-3.15.3a1 → cadwyn-3.15.3a2}/cadwyn/structure/versions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cadwyn
3
- Version: 3.15.3a1
3
+ Version: 3.15.3a2
4
4
  Summary: Production-ready community-driven modern Stripe-like API versioning in FastAPI
5
5
  Home-page: https://github.com/zmievsa/cadwyn
6
6
  License: MIT
@@ -106,6 +106,18 @@ class _RootHeaderAPIRouter(APIRouter):
106
106
  super().add_api_route(*args, **kwargs)
107
107
  self.unversioned_routes.append(self.routes[-1])
108
108
 
109
+ def add_route(self, *args, **kwargs):
110
+ super().add_route(*args, **kwargs)
111
+ self.unversioned_routes.append(self.routes[-1])
112
+
113
+ def add_api_websocket_route(self, *args, **kwargs):
114
+ super().add_api_websocket_route(*args, **kwargs)
115
+ self.unversioned_routes.append(self.routes[-1])
116
+
117
+ def add_websocket_route(self, *args, **kwargs):
118
+ super().add_websocket_route(*args, **kwargs)
119
+ self.unversioned_routes.append(self.routes[-1])
120
+
109
121
  async def process_request(self, scope: Scope, receive: Receive, send: Send, routes: Sequence[BaseRoute]) -> None:
110
122
  """
111
123
  its a copy-paste from starlette.routing.Router
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "cadwyn"
3
- version = "3.15.3a1"
3
+ version = "3.15.3a2"
4
4
  description = "Production-ready community-driven modern Stripe-like API versioning in FastAPI"
5
5
  authors = ["Stanislav Zmiev <zmievsa@gmail.com>"]
6
6
  license = "MIT"
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