home · contact · privacy
Remove asserts no longer needed.
[plomtask] / plomtask / processes.py
index 590c5bca56d3f84c1b67f34ee3f80c084903b1c9..654e5fcb7d8c8659b7c034e427767893b90a84b4 100644 (file)
@@ -208,7 +208,6 @@ class ProcessStep(BaseModel[int]):
         """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_}')