turboapi 0.4.11__cp313-cp313-win_amd64.whl → 0.4.12__cp313-cp313-win_amd64.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.
turboapi/main_app.py
CHANGED
|
@@ -32,6 +32,11 @@ class TurboAPI(Router):
|
|
|
32
32
|
|
|
33
33
|
print(f"{ROCKET} TurboAPI application created: {title} v{version}")
|
|
34
34
|
|
|
35
|
+
@property
|
|
36
|
+
def routes(self):
|
|
37
|
+
"""Get all registered routes."""
|
|
38
|
+
return self.registry.get_routes() if hasattr(self, 'registry') else []
|
|
39
|
+
|
|
35
40
|
def add_middleware(self, middleware_class, **kwargs):
|
|
36
41
|
"""Add middleware to the application."""
|
|
37
42
|
self.middleware_stack.append((middleware_class, kwargs))
|
|
Binary file
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
turboapi-0.4.
|
|
2
|
-
turboapi-0.4.
|
|
1
|
+
turboapi-0.4.12.dist-info/METADATA,sha256=IBt2GTnjmkVpSOn-PzMpMzXtwdB4jcqesqC2Bvj64_E,1482
|
|
2
|
+
turboapi-0.4.12.dist-info/WHEEL,sha256=TJQY77QRLvXq32tEs9ATmwKO6NAOtuKOAw50eyiSmWU,96
|
|
3
3
|
turboapi/__init__.py,sha256=r9Fphtu9ruHFUhSpBMAGxY5en2wvcnsE1nMp2DDRM6w,692
|
|
4
4
|
turboapi/async_limiter.py,sha256=x2qkloPbg2YelDNUXKya2BwBTq5zVxDHxuaQspIgYBg,2416
|
|
5
5
|
turboapi/async_pool.py,sha256=UVm0A-0jIN4V43jY8a5XEU_L0SSyWGMV2bs5FiQGr2M,4489
|
|
6
6
|
turboapi/decorators.py,sha256=jjJrIXZ3y_yJ231ar24hS09OCDtTqmYA7arpIOcr2kk,1788
|
|
7
|
-
turboapi/main_app.py,sha256=
|
|
7
|
+
turboapi/main_app.py,sha256=_rH5xUahFvyqk8Y9O4rs7v5m1q4_AbkBHitg04KL6O4,11678
|
|
8
8
|
turboapi/middleware.py,sha256=iqtklH5_GMICuAmmxMBfaFSNZkR8wHSNbwhNscGe-pA,11200
|
|
9
9
|
turboapi/models.py,sha256=VCU68f9MGtDdFb4crsx2e0SHghICg8zjU8OumfdpZLQ,5363
|
|
10
10
|
turboapi/request_handler.py,sha256=KrN9d3r7bO8LUU68X6cXTtl3a2dCoRqmdWrjDW2V2qQ,8413
|
|
@@ -12,6 +12,6 @@ turboapi/routing.py,sha256=iCbty56a2J9qnCtxIHQtYf66ZoKVxgISxwCxYvGmgEs,7746
|
|
|
12
12
|
turboapi/rust_integration.py,sha256=AsdB14odDYHFcMNlKeef0Dh8uqE0lfEqcC4MjSld0tM,14930
|
|
13
13
|
turboapi/security.py,sha256=-XgwBhiqQZdfU7oKLHi-3xN_UwlKiQxpfSQ6kTA0ko8,17230
|
|
14
14
|
turboapi/server_integration.py,sha256=drUhhTasWgQfyhFiAaHKd987N3mnE0qkMab1ylmqd4c,18340
|
|
15
|
-
turboapi/turbonet.cp313-win_amd64.pyd,sha256=
|
|
15
|
+
turboapi/turbonet.cp313-win_amd64.pyd,sha256=M6HuhjYQyUeuzyvYqViyuoyRzmQBIJ6JDls8uZAejms,3659264
|
|
16
16
|
turboapi/version_check.py,sha256=z3O1vIJsWmG_DO271ayYWSwaDfgpFnfJzYRYyowKYMc,9625
|
|
17
|
-
turboapi-0.4.
|
|
17
|
+
turboapi-0.4.12.dist-info/RECORD,,
|
|
File without changes
|