mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Get linked assets from "inputs".
This commit is contained in:
parent
cefcfe120b
commit
0d711c3b7f
1 changed files with 3 additions and 2 deletions
|
|
@ -746,8 +746,9 @@ class PypeHook:
|
|||
|
||||
def get_linked_assets(asset_entity):
|
||||
"""Return linked assets for `asset_entity`."""
|
||||
# TODO implement
|
||||
return []
|
||||
inputs = asset_entity["data"].get("inputs", [])
|
||||
inputs = [io.find_one({"_id": x}) for x in inputs]
|
||||
return inputs
|
||||
|
||||
|
||||
def map_subsets_by_family(subsets):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue