Skip to content

Commit

Permalink
Export PrefixedSubAppResource in aiohttp.web (#6889)
Browse files Browse the repository at this point in the history
To match the documentation:
https://docs.aiohttp.org/en/stable/web_reference.html#aiohttp.web.PrefixedSubAppResource

It's missing since this PR got merged:
#3469.

Co-authored-by: Sviatoslav Sydorenko <[email protected]>
  • Loading branch information
Dreamsorcerer and webknjaz authored Sep 20, 2022
1 parent 0cae27d commit a648677
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES/6889.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Export :py:class:`~aiohttp.web.PrefixedSubAppResource` under
:py:mod:`aiohttp.web` -- by :user:`Dreamsorcerer`.

This fixes a regression introduced by :pr:`3469`.
2 changes: 2 additions & 0 deletions aiohttp/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
AbstractRoute as AbstractRoute,
DynamicResource as DynamicResource,
PlainResource as PlainResource,
PrefixedSubAppResource as PrefixedSubAppResource,
Resource as Resource,
ResourceRoute as ResourceRoute,
StaticResource as StaticResource,
Expand Down Expand Up @@ -263,6 +264,7 @@
"AbstractRoute",
"DynamicResource",
"PlainResource",
"PrefixedSubAppResource",
"Resource",
"ResourceRoute",
"StaticResource",
Expand Down

0 comments on commit a648677

Please sign in to comment.