home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use more meaningful variable names.
[plomtask]
/
plomtask
/
processes.py
diff --git
a/plomtask/processes.py
b/plomtask/processes.py
index 590c5bca56d3f84c1b67f34ee3f80c084903b1c9..654e5fcb7d8c8659b7c034e427767893b90a84b4 100644
(file)
--- a/
plomtask/processes.py
+++ b/
plomtask/processes.py
@@
-208,7
+208,6
@@
class ProcessStep(BaseModel[int]):
"""Retrieve ProcessStep by id_, or throw NotFoundException."""
step, _ = super()._by_id(db_conn, id_)
if step:
"""Retrieve ProcessStep by id_, or throw NotFoundException."""
step, _ = super()._by_id(db_conn, id_)
if step:
- assert isinstance(step, ProcessStep)
return step
raise NotFoundException(f'found no ProcessStep of ID {id_}')
return step
raise NotFoundException(f'found no ProcessStep of ID {id_}')