Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
atdb-ldv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ASTRON SDC
atdb-ldv
Commits
3c392ac2
Commit
3c392ac2
authored
3 years ago
by
Nico Vermaas
Browse files
Options
Downloads
Patches
Plain Diff
added predecessor_status field now returns 'no_predecessor' if there is no predecessor
parent
c66e1685
No related branches found
No related tags found
3 merge requests
!143
Query Page:
,
!134
added predecessor_status field to REST API
,
!133
added predecessor_status field now returns 'no_predecessor' if there is no predecessor
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
atdb/taskdatabase/models.py
+1
-1
1 addition, 1 deletion
atdb/taskdatabase/models.py
with
1 addition
and
1 deletion
atdb/taskdatabase/models.py
+
1
−
1
View file @
3c392ac2
...
@@ -62,7 +62,7 @@ class Task(models.Model):
...
@@ -62,7 +62,7 @@ class Task(models.Model):
try
:
try
:
return
self
.
predecessor
.
status
return
self
.
predecessor
.
status
except
:
except
:
return
"
unknown
"
return
"
no_predecessor
"
class
LogEntry
(
models
.
Model
):
class
LogEntry
(
models
.
Model
):
cpu_cycles
=
models
.
IntegerField
(
null
=
True
,
blank
=
True
)
cpu_cycles
=
models
.
IntegerField
(
null
=
True
,
blank
=
True
)
...
...
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