aio-libs / aio-libs/aiohttp

Dynamic non-frozen router

Offen
#6,792 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
16.5k
Forks
2.4k
Ø Merge
17 Std. 22 Min.
Gemergte PRs (30 T.)
212

Beschreibung

### 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.