You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bdraco
changed the title
> aiohttp-cors accesses the protected self._routes here and relies on being able to add new methodsaiohttp-cors accesses the aiohttp protected self._routesNov 26, 2024
Good finding!
IIRC a resource can iterate over routes; it works but could be inefficient for the library.
Adding resource.routes property that returns a read-only mapping looks like a reasonable addition to me.
aiohttp-cors/aiohttp_cors/urldispatcher_router_adapter.py
Line 187 in 38c6c17
We could just update that library?
Originally posted by @Dreamsorcerer in aio-libs/aiohttp#9972 (comment)
The text was updated successfully, but these errors were encountered: