Skip to content

Commit

Permalink
allow translation_target None
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Jun 27, 2024
1 parent 274f8f7 commit a3f89c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/Translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TranslationOptions(BaseModel):
translation_source: str | None = Field(
title="Source Translation Language",
)
translation_target: str = Field(
translation_target: str | None = Field(
"en",
title="Target Translation Language",
)
Expand Down

0 comments on commit a3f89c9

Please sign in to comment.