diff --git a/client/ayon_core/tools/loader/abstract.py b/client/ayon_core/tools/loader/abstract.py index 14ed831d4b..4c8893bf95 100644 --- a/client/ayon_core/tools/loader/abstract.py +++ b/client/ayon_core/tools/loader/abstract.py @@ -1016,12 +1016,9 @@ class FrontendLoaderController(_BaseLoaderController): pass @abstractmethod - def get_product_types_filter(self, project_name): + def get_product_types_filter(self): """Return product type filter for project name (and current context). - Args: - project_name (str): Project name. - Returns: ProductTypesFilter: Product type filter for current context """ diff --git a/client/ayon_core/tools/loader/control.py b/client/ayon_core/tools/loader/control.py index 181e52218f..6a809967f7 100644 --- a/client/ayon_core/tools/loader/control.py +++ b/client/ayon_core/tools/loader/control.py @@ -432,7 +432,7 @@ class LoaderController(BackendLoaderController, FrontendLoaderController): def _emit_event(self, topic, data=None): self._event_system.emit(topic, data or {}, "controller") - def get_product_types_filter(self, project_name): + def get_product_types_filter(self): output = ProductTypesFilter( is_allow_list=False, product_types=[]