mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix type hint
This commit is contained in:
parent
bcca8ca8c1
commit
d583279c6d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
from __future__ import annotations
|
||||
import os
|
||||
import logging
|
||||
from typing import Any
|
||||
from typing import Any, Type
|
||||
from abc import abstractmethod
|
||||
|
||||
from ayon_core.settings import get_project_settings
|
||||
|
|
@ -268,7 +268,7 @@ class LoaderHookPlugin:
|
|||
|
||||
@classmethod
|
||||
@abstractmethod
|
||||
def is_compatible(cls, Loader: LoaderPlugin) -> bool:
|
||||
def is_compatible(cls, Loader: Type[LoaderPlugin]) -> bool:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue