File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 30
30
from sentry_sdk .integrations .rq import RqIntegration
31
31
32
32
from renku .service .cache import cache
33
- from renku .service .config import (
34
- CACHE_DIR ,
35
- HTTP_SERVER_ERROR ,
36
- SERVICE_PREFIX ,
37
- )
33
+ from renku .service .config import CACHE_DIR , HTTP_SERVER_ERROR , SERVICE_PREFIX
38
34
from renku .service .logger import service_log
39
35
from renku .service .serializers .headers import JWT_TOKEN_SECRET
40
36
from renku .service .utils .json_encoder import SvcJSONEncoder
41
37
from renku .service .views import error_response
38
+ from renku .service .views .apispec import apispec_blueprint
42
39
from renku .service .views .cache import cache_blueprint
43
40
from renku .service .views .config import config_blueprint
44
41
from renku .service .views .datasets import dataset_blueprint
45
42
from renku .service .views .graph import graph_blueprint
46
43
from renku .service .views .jobs import jobs_blueprint
47
44
from renku .service .views .templates import templates_blueprint
48
45
from renku .service .views .version import version_blueprint
49
- from renku .service .views .apispec import apispec_blueprint
50
46
51
47
logging .basicConfig (level = os .getenv ("SERVICE_LOG_LEVEL" , "WARNING" ))
52
48
Original file line number Diff line number Diff line change 19
19
from apispec import APISpec
20
20
from apispec .ext .marshmallow import MarshmallowPlugin
21
21
from apispec_webframeworks .flask import FlaskPlugin
22
- from flask import Blueprint , jsonify , current_app
22
+ from flask import Blueprint , current_app , jsonify
23
23
24
24
from renku .service .config import (
25
25
API_VERSION ,
92
92
plugins = [FlaskPlugin (), MarshmallowPlugin ()],
93
93
servers = [{"url" : SERVICE_API_BASE_PATH }],
94
94
security = [{"oidc" : []}, {"JWT" : [], "gitlab-token" : []}],
95
- info = {"description" : TOP_LEVEL_DESCRIPTION }
95
+ info = {"description" : TOP_LEVEL_DESCRIPTION },
96
96
)
97
97
98
98
spec .components .security_scheme ("oidc" , oidc_scheme )
You can’t perform that action at this time.
0 commit comments