From d02fffb6b84d4d9e7e728c38c6115ee3b417d662 Mon Sep 17 00:00:00 2001 From: Channel Cat Date: Sat, 19 Nov 2016 18:41:40 -0800 Subject: [PATCH] Fixing import of CIMultiDict --- requirements.txt | 1 + sanic/server.py | 2 +- setup.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index cef8660e..3acfbb1f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ httptools ujson uvloop aiofiles +multidict diff --git a/sanic/server.py b/sanic/server.py index 0afeca23..9081b729 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -1,9 +1,9 @@ import asyncio from functools import partial from inspect import isawaitable +from multidict import CIMultiDict from signal import SIGINT, SIGTERM from time import time -from aiohttp import CIMultiDict import httptools try: diff --git a/setup.py b/setup.py index 60606ad4..e6e9b4cc 100644 --- a/setup.py +++ b/setup.py @@ -30,6 +30,7 @@ setup( 'httptools>=0.0.9', 'ujson>=1.35', 'aiofiles>=0.3.0', + 'multidict>=2.0', ], classifiers=[ 'Development Status :: 2 - Pre-Alpha',