mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added master version implementation to outdated check
This commit is contained in:
parent
6c59f16266
commit
186b29340f
1 changed files with 2 additions and 0 deletions
|
|
@ -173,6 +173,8 @@ def is_latest(representation):
|
|||
"""
|
||||
|
||||
version = io.find_one({"_id": representation['parent']})
|
||||
if version["type"] == "master_version":
|
||||
return True
|
||||
|
||||
# Get highest version under the parent
|
||||
highest_version = io.find_one({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue