♻️ revert back some changes

This commit is contained in:
Ondřej Samohel 2025-01-29 23:25:43 +01:00
parent ebf6789036
commit ba67c436f9
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -1,7 +1,6 @@
"""Addon interfaces for AYON."""
from __future__ import annotations
import logging
from abc import ABCMeta, abstractmethod
from typing import TYPE_CHECKING, Callable, Optional, Type
@ -10,7 +9,6 @@ from ayon_core import resources
if TYPE_CHECKING:
from qtpy import QtWidgets
from ayon_core.addon import AddonsManager
from ayon_core.pipeline.traits import TraitBase
from ayon_core.tools.tray import TrayManager
@ -38,10 +36,6 @@ class AYONInterface(metaclass=_AYONInterfaceMeta):
log = None
def __init__(self):
"""Initialize interface."""
self.log = logging.getLogger(self.__class__.__name__)
class IPluginPaths(AYONInterface):
"""Addon has plugin paths to return.
@ -162,7 +156,6 @@ class ITrayAddon(AYONInterface):
"""
tray_initialized = False
manager: AddonsManager = None
_tray_manager: TrayManager = None
_admin_submenu = None
@ -431,7 +424,6 @@ class IHostAddon(AYONInterface):
@abstractmethod
def host_name(self) -> str:
"""Name of host which addon represents."""
raise NotImplementedError
def get_workfile_extensions(self) -> list[str]:
"""Define workfile extensions for host.