From 55b184ce37ee363ef4b748fcd2bb6598879e6348 Mon Sep 17 00:00:00 2001 From: Vladimir Rutsky Date: Fri, 5 Feb 2016 04:56:05 +0300 Subject: [PATCH] make new resources classes public These classes are documented as members of aiohttp.web, but they aren't because they are not exported in __all__: AbstractResource, ResourceAdapter, AbstractRoute, ResourceRoute --- aiohttp/web_urldispatcher.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aiohttp/web_urldispatcher.py b/aiohttp/web_urldispatcher.py index 0f658b2af6e..e4697ba67fa 100644 --- a/aiohttp/web_urldispatcher.py +++ b/aiohttp/web_urldispatcher.py @@ -25,7 +25,9 @@ __all__ = ('UrlDispatcher', 'UrlMappingMatchInfo', - 'Resource', 'PlainResource', 'DynamicResource', + 'AbstractResource', 'Resource', 'PlainResource', 'DynamicResource', + 'ResourceAdapter', + 'AbstractRoute', 'ResourceRoute', 'Route', 'PlainRoute', 'DynamicRoute', 'StaticRoute', 'View')