cadwyn 3.15.3a1__py3-none-any.whl → 3.15.3a2__py3-none-any.whl
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.
- cadwyn/routing.py +12 -0
- {cadwyn-3.15.3a1.dist-info → cadwyn-3.15.3a2.dist-info}/METADATA +1 -1
- {cadwyn-3.15.3a1.dist-info → cadwyn-3.15.3a2.dist-info}/RECORD +6 -6
- {cadwyn-3.15.3a1.dist-info → cadwyn-3.15.3a2.dist-info}/LICENSE +0 -0
- {cadwyn-3.15.3a1.dist-info → cadwyn-3.15.3a2.dist-info}/WHEEL +0 -0
- {cadwyn-3.15.3a1.dist-info → cadwyn-3.15.3a2.dist-info}/entry_points.txt +0 -0
cadwyn/routing.py
CHANGED
|
@@ -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
|
|
@@ -20,7 +20,7 @@ cadwyn/main.py,sha256=kt2Vn7TIA4ZnD_xrgz57TOjUk-4zVP8SV8nuTZBEaaU,218
|
|
|
20
20
|
cadwyn/middleware.py,sha256=8cuBri_yRkl0goe6G0MLwtL04WGbW9Infah3wy9hUVM,3372
|
|
21
21
|
cadwyn/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
22
|
cadwyn/route_generation.py,sha256=nn_PWDa2WQOF-z3IOYBfG9K8po0tHm2C_Q0sRJRr5Ck,39843
|
|
23
|
-
cadwyn/routing.py,sha256=
|
|
23
|
+
cadwyn/routing.py,sha256=O61Srr7G_mT6NPJO5fnVVh-FK-MBHSNfaYrCn2vAQZs,6984
|
|
24
24
|
cadwyn/static/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
25
|
cadwyn/static/docs.html,sha256=WNm5ANJVy51TcIUFOaqKf1Z8eF86CC85TTHPxACtkzw,3455
|
|
26
26
|
cadwyn/structure/__init__.py,sha256=HjaNd6H4m4Cia42-dCO7A7sLWuVII7oldjaCabhbs_o,697
|
|
@@ -31,8 +31,8 @@ cadwyn/structure/enums.py,sha256=iMokxA2QYJ61SzyB-Pmuq3y7KL7-e6TsnjLVUaVZQnw,954
|
|
|
31
31
|
cadwyn/structure/modules.py,sha256=1FK-lLm-zOTXEvn-QtyBH38aDRht5PDQiZrOPCsBlM4,1268
|
|
32
32
|
cadwyn/structure/schemas.py,sha256=0ylArAkUw626VkUOJSulOwJs7CS6lrGBRECEG5HFD4Q,8897
|
|
33
33
|
cadwyn/structure/versions.py,sha256=PuXYze89tWvLsOOiuAQtYRi-p1ue2FPfBWWR2bl8hLg,37236
|
|
34
|
-
cadwyn-3.15.
|
|
35
|
-
cadwyn-3.15.
|
|
36
|
-
cadwyn-3.15.
|
|
37
|
-
cadwyn-3.15.
|
|
38
|
-
cadwyn-3.15.
|
|
34
|
+
cadwyn-3.15.3a2.dist-info/LICENSE,sha256=KeCWewiDQYpmSnzF-p_0YpoWiyDcUPaCuG8OWQs4ig4,1072
|
|
35
|
+
cadwyn-3.15.3a2.dist-info/METADATA,sha256=HIo2WiBgNZRUliiEjAjP6b1bMWk6JCWWBOgg2_xMSGE,4399
|
|
36
|
+
cadwyn-3.15.3a2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
37
|
+
cadwyn-3.15.3a2.dist-info/entry_points.txt,sha256=eO05hLn9GoRzzpwT9GONPmXKsonjuMNssM2D2WHWKGk,46
|
|
38
|
+
cadwyn-3.15.3a2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|