Newly tracked file
qcfractal/storage_sockets/models/sql_models.py
changed.
Newly tracked file
qcfractal/interface/models/task_models.py
changed.
Other files ignored by Codecov
221 | 221 | status = Column(Enum(TaskStatusEnum), default=TaskStatusEnum.waiting) |
|
222 | 222 | priority = Column(Integer, default=int(PriorityEnum.NORMAL)) |
|
223 | 223 | manager = Column(String, ForeignKey("queue_manager.name", ondelete="SET NULL"), default=None) |
|
224 | - | error = Column(String) # TODO: tobe removed - should be in results |
|
225 | 224 | ||
226 | 225 | created_on = Column(DateTime, default=datetime.datetime.utcnow) |
|
227 | 226 | modified_on = Column(DateTime, default=datetime.datetime.utcnow) |
|
228 | 227 | ||
229 | 228 | # TODO: for back-compatibility with mongo, tobe removed |
|
229 | + | # (requries modifying pydantic model) |
|
230 | 230 | @hybrid_property |
|
231 | 231 | def base_result(self): |
|
232 | 232 | return self.base_result_id |
81 | 81 | base_result: ObjectId = Field( |
|
82 | 82 | ..., description="Reference to the output Result from this Task as it exists within the database." |
|
83 | 83 | ) |
|
84 | - | error: Optional[ComputeError] = Field( |
|
85 | - | None, description="The error thrown when trying to execute this task, if one was thrown at all." |
|
86 | - | ) |
|
87 | 84 | ||
88 | 85 | # Modified data |
|
89 | 86 | modified_on: datetime.datetime = Field(None, description="The last time this task was updated in the Database.") |
Files | Coverage |
---|---|
qcfractal | 88.05% |
Project Totals (69 files) | 88.05% |
1 |
coverage: |
2 |
ignore: |
3 |
- */tests/* |
4 |
- qcfractal/dashboard/* # early state |
5 |
- qcfractal/alembic/* # difficult to test |
6 |
- qcfractal/_version.py |
7 |
- setup.py |
8 |
status: |
9 |
patch: false |
10 |
project: |
11 |
default: |
12 |
threshold: 80% |
13 |
comment: |
14 |
layout: "header" |
15 |
require_changes: false |
16 |
branches: null |
17 |
behavior: once |
18 |
flags: null |
19 |
paths: null |