Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
encyclopedia-physics-engine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nomad-lab
encyclopedia-physics-engine
Merge requests
!1
Let API deal with empty json quantities.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Let API deal with empty json quantities.
hotfix
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Markus Scheidgen
requested to merge
hotfix
into
master
6 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
b39e8304
1 commit,
6 years ago
1 file
+
4
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
rest-api-service/app/dmss.py
+
4
−
1
Options
@@ -22,7 +22,10 @@ _default_per_page = 25
@@ -22,7 +22,10 @@ _default_per_page = 25
# transforms
# transforms
def
json_str
(
value
):
def
json_str
(
value
):
return
json
.
loads
(
value
)
if
value
is
None
or
value
==
''
:
return
None
else
:
return
json
.
loads
(
value
)
def
int_id
(
value
):
def
int_id
(
value
):
Loading