|
32 | 32 | TransferProgress,
|
33 | 33 | ThumbnailContent,
|
34 | 34 | get_default_settings_variant as _get_default_settings_variant,
|
| 35 | + RepresentationParents, |
| 36 | + RepresentationHierarchy, |
35 | 37 | )
|
36 | 38 |
|
37 | 39 | if typing.TYPE_CHECKING:
|
@@ -4718,7 +4720,8 @@ def get_version_by_id(
|
4718 | 4720 | versions.
|
4719 | 4721 |
|
4720 | 4722 | Returns:
|
4721 |
| - Optional[VersionDict]: Version entity data or None if was not found. |
| 4723 | + Optional[VersionDict]: Version entity data or None |
| 4724 | + if was not found. |
4722 | 4725 |
|
4723 | 4726 | """
|
4724 | 4727 | con = get_server_api_connection()
|
@@ -5202,7 +5205,8 @@ def get_representation_by_id(
|
5202 | 5205 | representations.
|
5203 | 5206 |
|
5204 | 5207 | Returns:
|
5205 |
| - Optional[RepresentationDict]: Queried representation entity or None. |
| 5208 | + Optional[RepresentationDict]: Queried representation |
| 5209 | + entity or None. |
5206 | 5210 |
|
5207 | 5211 | """
|
5208 | 5212 | con = get_server_api_connection()
|
@@ -5256,7 +5260,7 @@ def get_representations_hierarchy(
|
5256 | 5260 | product_fields: Optional[Iterable[str]] = None,
|
5257 | 5261 | version_fields: Optional[Iterable[str]] = None,
|
5258 | 5262 | representation_fields: Optional[Iterable[str]] = None,
|
5259 |
| -) -> "Dict[str, RepresentationHierarchy]": |
| 5263 | +) -> Dict[str, RepresentationHierarchy]: |
5260 | 5264 | """Find representation with parents by representation id.
|
5261 | 5265 |
|
5262 | 5266 | Representation entity with parent entities up to project.
|
@@ -5303,7 +5307,7 @@ def get_representation_hierarchy(
|
5303 | 5307 | product_fields: Optional[Iterable[str]] = None,
|
5304 | 5308 | version_fields: Optional[Iterable[str]] = None,
|
5305 | 5309 | representation_fields: Optional[Iterable[str]] = None,
|
5306 |
| -) -> "Optional[RepresentationHierarchy]": |
| 5310 | +) -> Optional[RepresentationHierarchy]: |
5307 | 5311 | """Find representation parents by representation id.
|
5308 | 5312 |
|
5309 | 5313 | Representation parent entities up to project.
|
@@ -5343,7 +5347,7 @@ def get_representations_parents(
|
5343 | 5347 | folder_fields: Optional[Iterable[str]] = None,
|
5344 | 5348 | product_fields: Optional[Iterable[str]] = None,
|
5345 | 5349 | version_fields: Optional[Iterable[str]] = None,
|
5346 |
| -) -> "Dict[str, RepresentationParents]": |
| 5350 | +) -> Dict[str, RepresentationParents]: |
5347 | 5351 | """Find representations parents by representation id.
|
5348 | 5352 |
|
5349 | 5353 | Representation parent entities up to project.
|
|
0 commit comments