mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Add _trustHook() to MockContainer
CURA-6856
This commit is contained in:
parent
36b924154b
commit
34c080c4bd
1 changed files with 4 additions and 0 deletions
|
@ -78,6 +78,10 @@ class MockContainer(ContainerInterface, UM.PluginObject.PluginObject):
|
|||
def getAllKeys(self):
|
||||
pass
|
||||
|
||||
# Should return false (or even throw an exception) if trust (or other verification) is invalidated.
|
||||
def _trustHook(self, file_name: Optional[str]) -> bool:
|
||||
return True
|
||||
|
||||
def setProperty(self, key, property_name, property_value, container = None, set_from_cache = False):
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue