Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
a68c8bbe
Commit
a68c8bbe
authored
6 years ago
by
yvesn
Browse files
Options
Downloads
Patches
Plain Diff
obis_SSDM-6476: obis - fixed getting of data set properties
parent
8075c740
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/python/OBis/obis/scripts/cli.py
+2
-1
2 additions, 1 deletion
src/python/OBis/obis/scripts/cli.py
with
2 additions
and
1 deletion
src/python/OBis/obis/scripts/cli.py
+
2
−
1
View file @
a68c8bbe
...
...
@@ -213,7 +213,6 @@ def _join_settings_get(setting_lists):
return
joined
# TODO also get for is_data_set_property
def
_config_internal_new
(
data_mgmt
,
resolver
,
is_global
,
is_data_set_property
,
prop
,
value
):
if
is_global
:
resolver
.
set_location_search_order
([
'
global
'
])
...
...
@@ -226,6 +225,8 @@ def _config_internal_new(data_mgmt, resolver, is_global, is_data_set_property, p
resolver
.
set_location_search_order
([
'
global
'
])
config_dict
=
resolver
.
config_dict
()
if
is_data_set_property
:
config_dict
=
config_dict
[
'
data_set_properties
'
]
if
not
prop
:
config_str
=
json
.
dumps
(
config_dict
,
indent
=
4
,
sort_keys
=
True
)
click
.
echo
(
"
{}
"
.
format
(
config_str
))
...
...
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