Skip to content

Commit 873a78a

Browse files
author
Dylan Huang
committed
Update EvaluationRow model to set default for pid and simplify TestFunction type definition
1 parent 4d4ac54 commit 873a78a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

eval_protocol/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ class EvaluationRow(BaseModel):
541541
)
542542

543543
pid: Optional[int] = Field(
544-
None,
544+
default=None,
545545
description="The PID of the process that created the row. This is used by the evaluation watcher to detect stopped evaluations.",
546546
)
547547

eval_protocol/pytest/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"""
3232
Test function types
3333
"""
34-
TestFunction = Callable[..., Dataset]
34+
TestFunction = Callable
3535

3636
"""
3737
Rollout processor types

0 commit comments

Comments
 (0)