-
Notifications
You must be signed in to change notification settings - Fork 5
Config file #162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
burnout87
wants to merge
45
commits into
master
Choose a base branch
from
config-file
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Config file #162
Changes from 39 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
282fb27
config file
burnout87 536833d
import
burnout87 5cbcaba
conf and conf_example
burnout87 cb6947e
default config
burnout87 853a62e
default config not from file
burnout87 96b3c68
string formatting
burnout87 0121200
max_download_size nbadapter arg for init
burnout87 8a10a2c
using flaskdynaconf
burnout87 b885781
Merge branch 'master' into config-file
burnout87 28019da
passing config to find notebooks
burnout87 9fe50e9
passing config to find notebooks
burnout87 de621d8
loggin test_Service
burnout87 a63cbad
loggin test_Service
burnout87 ea5f0aa
check download_limit before download
burnout87 6f77263
check download_limit before download
burnout87 a02325f
using request lib
burnout87 145be50
multiple attempts request infos file url
burnout87 ada5c00
code optimized
burnout87 8e9491d
code optimized
burnout87 60b7842
code optimized
burnout87 70f6146
code optimized
burnout87 a0da3f4
test adapted
burnout87 420191b
providing config arg to NotebookAdapter init
burnout87 f91058a
adapted test
burnout87 769c795
missing import
burnout87 bae3e9e
passing config to NotebookAdapter
burnout87 c648563
no need to pass arg to download_file
burnout87 402ce9a
no need for conf_dir
burnout87 8932525
init NotebookAdapter
burnout87 4cf68f2
sentry_url in the config
burnout87 ea6be31
Merge branch 'master' into config-file
burnout87 7da5dd2
default config value
burnout87 9044564
ontology_path config
burnout87 7adb8d4
better defaults
burnout87 fe31a80
better defaults for deploy
burnout87 f2be97f
better way to extract default ontology path
burnout87 8cf862b
host and port in the config file
burnout87 068fa70
config_ontology_path
burnout87 1615489
Merge branch 'master' into config-file
dsavchenko ecdceba
removed unused import
burnout87 870f3ef
Merge branch 'config-file' of github.com:oda-hub/nb2workflow into con…
burnout87 e454b75
arg settings path
burnout87 1224d4f
config args
burnout87 e9f0d72
better way to refer to the property
burnout87 a97ec5c
settings path for deploy
burnout87 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| import pkg_resources | ||
| import os | ||
|
|
||
| name = "nb2workflow" | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,10 @@ def sentry_url(self): | |
| self._sentry_url = os.environ.get('SENTRY_URL', "https://[email protected]/4506186624335872") | ||
| return self._sentry_url | ||
|
|
||
| @sentry_url.setter | ||
| def sentry_url(self, url): | ||
| self._sentry_url = url | ||
|
|
||
| @property | ||
| def have_sentry(self): | ||
| if self.sentry_url is None or self.sentry_url == '' or sentry_sdk is None: | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.