Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
metagenedb
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Metagenomics
metagenedb
Commits
eaa9d70a
Commit
eaa9d70a
authored
Nov 14, 2019
by
Kenzo-Hugo Hillion
Browse files
Options
Downloads
Patches
Plain Diff
fix flake8
parent
0120036a
No related branches found
No related tags found
2 merge requests
!59
Prod
,
!18
Resolve "Create backend service to perform request to external APIs"
Pipeline
#18248
passed
Nov 14, 2019
Stage: build
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
backend/metagenedb/api/catalog/views/function.py
+0
-1
0 additions, 1 deletion
backend/metagenedb/api/catalog/views/function.py
backend/metagenedb/common/utils/external_api/togows.py
+0
-5
0 additions, 5 deletions
backend/metagenedb/common/utils/external_api/togows.py
with
0 additions
and
6 deletions
backend/metagenedb/api/catalog/views/function.py
+
0
−
1
View file @
eaa9d70a
...
@@ -3,7 +3,6 @@ from rest_framework.response import Response
...
@@ -3,7 +3,6 @@ from rest_framework.response import Response
from
metagenedb.api.catalog.filters
import
FunctionFilter
from
metagenedb.api.catalog.filters
import
FunctionFilter
from
metagenedb.apps.catalog.models
import
Function
from
metagenedb.apps.catalog.models
import
Function
from
metagenedb.apps.catalog.serializers
import
FunctionSerializer
from
metagenedb.apps.catalog.serializers
import
FunctionSerializer
from
metagenedb.common.utils.external_api.togows
import
get_kegg
from
.bulk_viewset
import
BulkViewSet
from
.bulk_viewset
import
BulkViewSet
...
...
...
...
This diff is collapsed.
Click to expand it.
backend/metagenedb/common/utils/external_api/togows.py
+
0
−
5
View file @
eaa9d70a
...
@@ -25,8 +25,3 @@ class GetFunctionExternalInfo:
...
@@ -25,8 +25,3 @@ class GetFunctionExternalInfo:
def
get_details
(
self
):
def
get_details
(
self
):
return
getattr
(
self
,
f
"
_get_
{
self
.
source
}
"
,
self
.
_get_unknown_source
)()
return
getattr
(
self
,
f
"
_get_
{
self
.
source
}
"
,
self
.
_get_unknown_source
)()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment