Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
force-bdss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adham Hashibon
force-bdss
Commits
0a47c268
Commit
0a47c268
authored
7 years ago
by
Stefano Borini
Browse files
Options
Downloads
Patches
Plain Diff
Flake and comment to push_exception_handler
parent
e00c6233
No related branches found
No related tags found
1 merge request
!20
Use ids instead of names in bundles.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
force_bdss/cli/force_bdss.py
+4
-0
4 additions, 0 deletions
force_bdss/cli/force_bdss.py
force_bdss/id_generators.py
+1
-0
1 addition, 0 deletions
force_bdss/id_generators.py
with
5 additions
and
0 deletions
force_bdss/cli/force_bdss.py
+
4
−
0
View file @
0a47c268
import
click
from
..bdss_application
import
BDSSApplication
# Makes the application rethrow the exception so that it exits return code
# different from zero.
from
traits.api
import
push_exception_handler
push_exception_handler
(
reraise_exceptions
=
True
)
@click.command
()
@click.option
(
"
--evaluate
"
,
is_flag
=
True
)
@click.argument
(
'
workflow_filepath
'
,
type
=
click
.
Path
(
exists
=
True
))
...
...
This diff is collapsed.
Click to expand it.
force_bdss/id_generators.py
+
1
−
0
View file @
0a47c268
import
six
def
bundle_id
(
producer
,
identifier
):
"""
Creates an id for the bundle.
...
...
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
register
or
sign in
to comment