Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ChEMBL
C
ChEMBL
Delayed Jobs
Delayed Jobs API
Commits
82a81661
Commit
82a81661
authored
Apr 13, 2021
by
David Mendez
Browse files
Print to console qhen generating default job config
parent
35b9219d
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
app/__init__.py
app/__init__.py
+2
-0
No files found.
app/__init__.py
View file @
82a81661
...
...
@@ -57,7 +57,9 @@ def create_app():
generate_default_config
=
RUN_CONFIG
.
get
(
'generate_default_config'
,
False
)
if
generate_default_config
:
print
(
'GENERATING DEFAULT JOB CONFIG'
)
delayed_job_models
.
generate_default_job_configs
()
print
(
'DEFAULT JOB CONFIG GENERATED!'
)
flask_app
.
register_blueprint
(
SWAGGER_BLUEPRINT
,
url_prefix
=
f
'
{
base_path
}
/swagger'
)
flask_app
.
register_blueprint
(
SUBMISSION_BLUEPRINT
,
url_prefix
=
f
'
{
base_path
}
/submit'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment