Skip to content

Commit

Permalink
add versionadded mentions (#23011)
Browse files Browse the repository at this point in the history
  • Loading branch information
catalinaperalta authored Feb 10, 2022
1 parent 1e60360 commit d5e894d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def begin_build_model(self, source, build_mode, **kwargs):
:raises ~azure.core.exceptions.HttpResponseError:
.. versionadded:: v2022-01-30-preview
The *tags* keyword argument
The required *build_mode* parameter and *tags* keyword argument
.. admonition:: Example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3384,6 +3384,9 @@ class ModelOperationInfo(object):
:vartype api_version: str
:ivar tags: List of user defined key-value tag attributes associated with the model.
:vartype tags: dict[str, str]
.. versionadded:: v2022-01-30-preview
The *api_version* and *tags* properties
"""

def __init__(self, **kwargs):
Expand Down Expand Up @@ -3502,6 +3505,9 @@ class ModelOperation(ModelOperationInfo):
:vartype api_version: str
:ivar tags: List of user defined key-value tag attributes associated with the model.
:vartype tags: dict[str, str]
.. versionadded:: v2022-01-30-preview
The *api_version* and *tags* properties
"""

def __init__(self, **kwargs):
Expand Down Expand Up @@ -3691,6 +3697,9 @@ class AnalyzeResult(object):
:vartype styles: list[~azure.ai.formrecognizer.DocumentStyle]
:ivar documents: Extracted documents.
:vartype documents: list[~azure.ai.formrecognizer.AnalyzedDocument]
.. versionadded:: v2022-01-30-preview
The *languages* property
"""

def __init__(self, **kwargs):
Expand Down Expand Up @@ -3842,6 +3851,9 @@ class DocumentModelInfo(object):
:vartype api_version: str
:ivar tags: List of user defined key-value tag attributes associated with the model.
:vartype tags: dict[str, str]
.. versionadded:: v2022-01-30-preview
The *api_version* and *tags* properties
"""

def __init__(
Expand Down Expand Up @@ -3921,6 +3933,9 @@ class DocumentModel(DocumentModelInfo):
:vartype tags: dict[str, str]
:ivar doc_types: Supported document types, including the fields for each document and their types.
:vartype doc_types: dict[str, ~azure.ai.formrecognizer.DocTypeInfo]
.. versionadded:: v2022-01-30-preview
The *api_version* and *tags* properties
"""

def __init__(
Expand Down Expand Up @@ -4003,6 +4018,9 @@ class DocTypeInfo(object):
:vartype field_schema: dict[str, Any]
:ivar field_confidence: Estimated confidence for each field.
:vartype field_confidence: dict[str, float]
.. versionadded:: v2022-01-30-preview
The *build_mode* property
"""

def __init__(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ async def begin_build_model(
:raises ~azure.core.exceptions.HttpResponseError:
.. versionadded:: v2022-01-30-preview
The *tags* keyword argument
The required *build_mode* parameter and *tags* keyword argument
.. admonition:: Example:
Expand Down

0 comments on commit d5e894d

Please sign in to comment.