mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 14:22:37 +01:00
convert cursor of representations to list
This commit is contained in:
parent
57e72c2c37
commit
de2fb5d1ff
1 changed files with 2 additions and 2 deletions
|
|
@ -1232,11 +1232,11 @@ class RepresentationWidget(QtWidgets.QWidget):
|
|||
repre_ids.append(item["_id"])
|
||||
|
||||
project_name = self.dbcon.active_project()
|
||||
repre_docs = get_representations(
|
||||
repre_docs = list(get_representations(
|
||||
project_name,
|
||||
representation_ids=repre_ids,
|
||||
fields=["name", "parent"]
|
||||
)
|
||||
))
|
||||
|
||||
version_ids = [
|
||||
repre_doc["parent"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue