Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions prepline_general/api/models/form_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def as_form(
Form(
title="OCR Languages",
description="The languages present in the document, for use in partitioning and/or OCR",
examples=["[eng]"],
examples=['["eng"]'],
),
BeforeValidator(SmartValueParser[List[str]]().value_or_first_element),
] = [], # noqa
Expand All @@ -63,7 +63,7 @@ def as_form(
Form(
title="OCR Languages",
description="The languages present in the document, for use in partitioning and/or OCR",
examples=["[eng]"],
examples=['["eng"]'],
),
BeforeValidator(SmartValueParser[List[str]]().value_or_first_element),
] = [],
Expand All @@ -74,7 +74,7 @@ def as_form(
description=(
"The document types that you want to skip table extraction with. Default: []"
),
examples=["['pdf', 'jpg', 'png']"],
examples=['["pdf", "jpg", "png"]'],
),
BeforeValidator(SmartValueParser[List[str]]().value_or_first_element),
] = [], # noqa
Expand Down
Loading