mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Refactor method
This commit is contained in:
parent
becf14ed68
commit
7105ca8d73
1 changed files with 5 additions and 2 deletions
|
|
@ -1019,8 +1019,11 @@ class FrontendLoaderController(_BaseLoaderController):
|
|||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_current_context_product_types_filter(self):
|
||||
"""Return product type filter for current context.
|
||||
def get_product_types_filter(self, project_name):
|
||||
"""Return product type filter for project name (and current context).
|
||||
|
||||
Args:
|
||||
project_name (str): Project name.
|
||||
|
||||
Returns:
|
||||
ProductTypesFilter: Product type filter for current context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue