This repository was archived by the owner on Aug 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11# pylint: disable=wrong-import-position
22import os
33import sys
4+
5+ from sanic_rest import exceptions
6+
47sys .path .append (os .path .dirname (__file__ ))
58
69from sanic import Sanic
710from sanic_openapi import swagger_blueprint
811
912import settings
1013import views
11- import exceptions
1214
1315app = Sanic (name = 'flamingo' , error_handler = exceptions .rest_error_handler )
1416app .update_config (settings )
Original file line number Diff line number Diff line change 22from typing import List
33
44from gcp_pilot .datastore import EmbeddedDocument
5+ from sanic_rest import exceptions
56
6- import exceptions
77import settings
88from models .buildpack import BuildPack
99from models .label import Label
Original file line number Diff line number Diff line change 33from gcp_pilot .build import AnyEventType , CloudBuild
44from gcp_pilot .datastore import EmbeddedDocument
55from github import Github
6+ from sanic_rest import exceptions
67
7- import exceptions
88import settings
99from models .project import Project
1010
Original file line number Diff line number Diff line change 22
33from sanic import Blueprint
44from sanic .request import Request
5+ from sanic_rest import exceptions
56
6- import exceptions
77from models .app import App
88from models .database import Database
99from models .env_var import EnvVar
You can’t perform that action at this time.
0 commit comments