mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
improve the docstring
This commit is contained in:
parent
637b157fd3
commit
625e782d7e
1 changed files with 8 additions and 1 deletions
|
|
@ -362,7 +362,14 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
||||||
return filtered_repres
|
return filtered_repres
|
||||||
|
|
||||||
def _is_valid_images_repre(self, repre):
|
def _is_valid_images_repre(self, repre):
|
||||||
"""Check if representation contains valid image files"""
|
"""Check if representation contains valid image files
|
||||||
|
|
||||||
|
Args:
|
||||||
|
repre (dict): representation
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
bool: whether the representation has the valid image content
|
||||||
|
"""
|
||||||
files = repre.get("files")
|
files = repre.get("files")
|
||||||
if not files:
|
if not files:
|
||||||
self.log.debug((
|
self.log.debug((
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue