mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
don't require project name in 'get_product_types_filter'
This commit is contained in:
parent
9af0e6e1cd
commit
1cacc3b723
2 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -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=[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue