| 112 | REMOVE_IDENTITY = 35 |
| 113 | |
| 114 | class GraphCommand(): |
| 115 | def __init__(self, command_type: GraphCommandType, **kwargs) -> None: |
| 116 | assert isinstance(command_type, GraphCommandType), \ |
| 117 | f'Command Type must be a GraphCommandType object, but {type(command_type)} received.' |
| 118 | self.command_type = command_type |
| 119 | self.kwargs = kwargs |
| 120 | |
| 121 | def __str__(self) -> str: |
| 122 | return f'GraphCommand object {self.__hash__()},\t Command type: {self.command_type},\t Args:{self.kwargs}' |
| 123 | |
| 124 | |
| 125 | class GraphDeployCommand(GraphCommand): |
no outgoing calls
no test coverage detected