disable delete, copy, paste during runtime

This commit is contained in:
Huy Pham 2020-02-24 11:17:06 -08:00
parent ddaba7c477
commit 1dca477e6d
2 changed files with 9 additions and 3 deletions

View file

@ -1064,3 +1064,6 @@ class CoreClient:
def service_been_modified(self, node_id: int) -> bool:
return node_id in self.modified_service_nodes
def is_runtime_state(self):
return self.state == core_pb2.SessionState.RUNTIME