Skip to content

Commit 9f040a8

Browse files
author
Isaac Miller
committed
Fix bad type hint
1 parent 3881eb7 commit 9f040a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dspy/clients/finetune.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def status(self):
9292
raise NotImplementedError("Method `status` is not implemented.")
9393

9494

95-
def validate_finetune_data(data: List[Dict[str, Any]], train_method: TrainingMethod) -> Optional[AssertionError]:
95+
def validate_finetune_data(data: List[Dict[str, Any]], train_method: TrainingMethod):
9696
"""Validate the finetune data based on the training method."""
9797
# Get the required data keys for the training method
9898
required_keys = TRAINING_METHOD_TO_DATA_KEYS[train_method]

0 commit comments

Comments
 (0)