mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
conver repres cursor to list
This commit is contained in:
parent
39ea438d7d
commit
a48d77e609
1 changed files with 2 additions and 2 deletions
|
|
@ -165,11 +165,11 @@ class SwitchAssetDialog(QtWidgets.QDialog):
|
|||
content_loaders.add(item["loader"])
|
||||
|
||||
project_name = self.active_project()
|
||||
repres = get_representations(
|
||||
repres = list(get_representations(
|
||||
project_name,
|
||||
representation_ids=repre_ids,
|
||||
archived=True
|
||||
)
|
||||
))
|
||||
repres_by_id = {repre["_id"]: repre for repre in repres}
|
||||
|
||||
# stash context values, works only for single representation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue