mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
separated function get_subset into 2 separated functions
This commit is contained in:
parent
20ecefa4aa
commit
9456dac8b9
6 changed files with 63 additions and 58 deletions
|
|
@ -9,7 +9,7 @@ from Qt import QtWidgets, QtCore, QtGui
|
|||
|
||||
from openpype.client import (
|
||||
get_subset_families,
|
||||
get_subset,
|
||||
get_subset_by_id,
|
||||
get_subsets,
|
||||
get_version,
|
||||
get_versions,
|
||||
|
|
@ -688,7 +688,7 @@ class VersionTextEdit(QtWidgets.QTextEdit):
|
|||
_version_doc["name"]
|
||||
)
|
||||
|
||||
subset = get_subset(project_name, subset_id=version_doc["parent"])
|
||||
subset = get_subset_by_id(project_name, version_doc["parent"])
|
||||
assert subset, "No valid subset parent for version"
|
||||
|
||||
# Define readable creation timestamp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue