mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 14:19:00 +08:00
Add _trustHook() to MockContainer
CURA-6856
This commit is contained in:
parent
36b924154b
commit
34c080c4bd
@ -78,6 +78,10 @@ class MockContainer(ContainerInterface, UM.PluginObject.PluginObject):
|
|||||||
def getAllKeys(self):
|
def getAllKeys(self):
|
||||||
pass
|
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):
|
def setProperty(self, key, property_name, property_value, container = None, set_from_cache = False):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user