mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 23:00:17 +00:00
improve imports
This commit is contained in:
+2
-3
@@ -4,7 +4,8 @@ from functools import partial
|
||||
from pathlib import Path
|
||||
|
||||
import uvicorn
|
||||
|
||||
import apistar
|
||||
import yaml
|
||||
import asyncio
|
||||
import jinja2
|
||||
import itsdangerous
|
||||
@@ -519,8 +520,6 @@ class API:
|
||||
|
||||
@property
|
||||
def docs(self):
|
||||
import apistar
|
||||
import yaml
|
||||
|
||||
loader = jinja2.PrefixLoader(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user