mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Typing
This commit is contained in:
parent
2928c62d2b
commit
bfca3175d6
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ class ExtractThumbnailFromSource(pyblish.api.InstancePlugin):
|
|||
|
||||
self.log.warning("Thumbnail has not been created.")
|
||||
|
||||
def _instance_has_thumbnail(self, instance):
|
||||
def _instance_has_thumbnail(self, instance: pyblish.api.Instance) -> bool:
|
||||
if "representations" not in instance.data:
|
||||
self.log.warning(
|
||||
"Instance does not have 'representations' key filled"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue