added missing abstract property 'host_is_valid'

This commit is contained in:
Jakub Trllo 2022-10-07 11:53:10 +02:00
parent d6de369cd0
commit 5cfd5db5d7

View file

@ -687,7 +687,8 @@ class AbstractPublisherController(object):
Define what must be implemented to be able use Publisher functionality.
Goal is to have "data driven" controller that can be used to control UI
running in different process. That lead to some ""
running in different process. That lead to some disadvantages like UI can't
access objects directly but by using wrappers that can be serialized.
"""
_log = None
@ -762,6 +763,19 @@ class AbstractPublisherController(object):
pass
@abstractproperty
def host_is_valid(self):
"""Host is valid for creation part.
Host must have implemented certain functionality to be able create
in Publisher tool.
Returns:
bool: Host can handle creation of instances.
"""
pass
@abstractproperty
def instances(self):
"""Collected/created instances.