Refactor management API impl

This commit is contained in:
Tulir Asokan 2018-10-31 22:28:13 +02:00
parent c7d16a5d46
commit 057ccc1914
5 changed files with 55 additions and 28 deletions

View file

@ -17,7 +17,7 @@ from typing import Callable, Awaitable
from aiohttp import web
from .responses import ErrNoToken, ErrInvalidToken, ErrPathNotFound, ErrMethodNotAllowed
from . import is_valid_token
from .auth import is_valid_token
Handler = Callable[[web.Request], Awaitable[web.Response]]