formatting
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
from flask import Flask, Blueprint
|
||||
|
||||
from . import commands, login, target_exchange, target
|
||||
from .settings import ProdConfig, Config
|
||||
from .extensions import db, migrate, jwt, apispec
|
||||
from .exceptions import ApiException
|
||||
from .extensions import db, migrate, jwt, apispec
|
||||
from .settings import ProdConfig, Config
|
||||
|
||||
|
||||
def create_app(config: Config = ProdConfig) -> Flask:
|
||||
@@ -78,6 +79,7 @@ def register_errorhandlers(app: Flask):
|
||||
|
||||
def register_shellcontext(app: Flask):
|
||||
"""Register shell context objects."""
|
||||
|
||||
def shell_context():
|
||||
"""Shell context objects."""
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user