Skip to content

Commit 0aaa727

Browse files
authored
Merge pull request #459 from superannotateai/readthedocs_update
Doc string updates
2 parents 0c25f5e + 627c65d commit 0aaa727

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2049,7 +2049,7 @@ def upload_image_to_project(
20492049
def search_models(
20502050
self,
20512051
name: Optional[NotEmptyStr] = None,
2052-
type_: Optional[NotEmptyStr] = None,
2052+
type_: Optional[NotEmptyStr] = None, # noqa
20532053
project_id: Optional[int] = None,
20542054
task: Optional[NotEmptyStr] = None,
20552055
include_global: Optional[StrictBool] = True,
@@ -2058,17 +2058,21 @@ def search_models(
20582058
20592059
:param name: search string
20602060
:type name: str
2061-
:param type_: ml model type string
2062-
:type type_: str
2061+
2062+
:param type\_: ml model type string
2063+
:type type\_: str
2064+
20632065
:param project_id: project id
20642066
:type project_id: int
2067+
20652068
:param task: training task
20662069
:type task: str
2070+
20672071
:param include_global: include global ml models
20682072
:type include_global: bool
20692073
2070-
:return: ml model metadata
2071-
:rtype: list of dicts
2074+
:return: ml model metadata
2075+
:rtype: list of dicts
20722076
"""
20732077
res = self.controller.search_models(
20742078
name=name,

0 commit comments

Comments
 (0)