Skip to content

Commit

Permalink
[PR #6889/a6486774 backport][3.9] Export PrefixedSubAppResource in …
Browse files Browse the repository at this point in the history
…`aiohttp.web` (#6922)

**This is a backport of PR #6889 as merged into master
(a648677).**

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: Sam Bull <aa6bs0@sambull.org>
  • Loading branch information
patchback[bot] and Dreamsorcerer committed Sep 20, 2022
1 parent 7cd8a60 commit 4bc798b
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
@@ -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
Expand Up @@ -136,6 +136,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 @@ -262,6 +263,7 @@
"AbstractRoute",
"DynamicResource",
"PlainResource",
"PrefixedSubAppResource",
"Resource",
"ResourceRoute",
"StaticResource",
Expand Down

0 comments on commit 4bc798b

Please sign in to comment.