aio-libs / aio-libs/aiohttp

Dynamic non-frozen router

Đang mở
#6,792 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
16.5k
Fork
2.4k
Merge trung bình
17 giờ 22 phút
Pull request đã merge (30 ngày)
212

Mô tả

### Is your feature request related to a problem?

Hi,

I'm using aiohttp-swagger3 for building of an api interface for the app. Unfortunately I'm not able to change router after application is started. I.e. del_route() not available, add_route() after not working tried also app.router._frozen = False/True. What problems can dynamic configuration cause? I've used such configurations in Tornado long ago and it works fine.

### Describe the solution you'd like

Dynamic router

### Describe alternatives you've considered

Dynamic router

### Related component

Server

### Additional context

_No response_

### Code of Conduct

- [X] I agree to follow the aio-libs Code of Conduct

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.