Skip to content

Commit e89401c

Browse files
committed
Removed old action methods
1 parent 7885a43 commit e89401c

File tree

2 files changed

+0
-139
lines changed

2 files changed

+0
-139
lines changed

actions/BasicActions.py

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,6 @@
11
from ActionNode import *
22

33

4-
class BasicActions:
5-
@staticmethod
6-
def get(target: Node):
7-
return target.get()
8-
9-
@staticmethod
10-
def set(target: Node, new_value):
11-
target.set(new_value)
12-
13-
@staticmethod
14-
def exists(target: Node, name: str) -> bool:
15-
return target.contains(name)
16-
17-
@staticmethod
18-
def list(target: Node):
19-
return target.list()
20-
21-
@staticmethod
22-
def create(target: Node, name: str, value=None):
23-
target.append(Node(value), name)
24-
25-
@staticmethod
26-
def remove(target: Node, name_to_remove: str):
27-
target.remove(name_to_remove)
28-
29-
304
class GetAction(ActionNode):
315
def __init__(self):
326
super().__init__(path='get')

tests/action_tests/BasicActionTests.py

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)