Skip to content

Commit 5c447aa

Browse files
update FormField docstring (Azure#18226)
1 parent 8ac54ee commit 5c447aa

File tree

1 file changed

+2
-0
lines changed
  • sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer

1 file changed

+2
-0
lines changed

sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ class FormField(object):
248248
analyzed from a custom model that was trained with labels.
249249
:ivar value:
250250
The value for the recognized field. Its semantic data type is described by `value_type`.
251+
If the value is extracted from the form, but cannot be normalized to its type,
252+
then access the `value_data.text` property for a textual representation of the value.
251253
:vartype value: str, int, float, :class:`~datetime.date`, :class:`~datetime.time`,
252254
dict[str, :class:`~azure.ai.formrecognizer.FormField`], or list[:class:`~azure.ai.formrecognizer.FormField`]
253255
:ivar float confidence:

0 commit comments

Comments
 (0)