diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-06-03 23:16:07 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-06-03 23:16:07 -0700 |
commit | 62fde540ef9c38d403ea89a6fb1db51bfba23da8 (patch) | |
tree | 2142c739349237b0ef137a57000850db1b2ff39d /fatcat_scholar/web.py | |
parent | 74ef1c6f4e0f08dd6a6b3e6eacc4d780c990eb3f (diff) | |
download | fatcat-scholar-62fde540ef9c38d403ea89a6fb1db51bfba23da8.tar.gz fatcat-scholar-62fde540ef9c38d403ea89a6fb1db51bfba23da8.zip |
flake8 fixes (partial)
Diffstat (limited to 'fatcat_scholar/web.py')
-rw-r--r-- | fatcat_scholar/web.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py index 6c8a2e9..3f6982d 100644 --- a/fatcat_scholar/web.py +++ b/fatcat_scholar/web.py @@ -5,13 +5,11 @@ So far there are few endpoints, so we just put them all here! """ import sys -from enum import Enum import babel.support -from fastapi import FastAPI, APIRouter, Request, Depends, Header +from fastapi import FastAPI, APIRouter, Request, Depends from fastapi.staticfiles import StaticFiles -from fastapi.responses import HTMLResponse from dynaconf import settings -from typing import List, Dict, Tuple, Optional, Any, Sequence +from typing import Optional from fatcat_scholar.hacks import Jinja2Templates from fatcat_scholar.search import do_fulltext_search, FulltextQuery, FulltextHits |