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
fa6e8b4478
commit
32bc4248fc
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ import os
|
|||
import re
|
||||
import subprocess
|
||||
import tempfile
|
||||
from typing import Dict, Any, List, Tuple
|
||||
from typing import Dict, Any, List, Tuple, Optional
|
||||
|
||||
import pyblish.api
|
||||
from ayon_core.lib import (
|
||||
|
|
@ -744,7 +744,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
def _get_config_from_profile(
|
||||
self,
|
||||
instance: pyblish.api.Instance
|
||||
) -> ProfileConfig:
|
||||
) -> Optional[ProfileConfig]:
|
||||
"""Returns profile if and how repre should be color transcoded."""
|
||||
host_name = instance.context.data["hostName"]
|
||||
product_type = instance.data["productType"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue