diff --git a/api/change_set.py b/api/change_set.py index fbcd489..6d9b4df 100644 --- a/api/change_set.py +++ b/api/change_set.py @@ -14,9 +14,9 @@ class ChangeSet: self.operations.append({ 'operation': 'update', 'type': type, 'id': id, 'properties': properties }) return self - def append(self, other) -> None: + def append(self, other): self.operations += other.operations return self - def compress(self) -> None: + def compress(self): return self diff --git a/tjnetwork.py b/tjnetwork.py index c5176c5..23fe624 100644 --- a/tjnetwork.py +++ b/tjnetwork.py @@ -209,7 +209,7 @@ def delete_tank(name: str, tank_id: str) -> ChangeSet: ############################################################ -# pipe 4.[PIPES] +# pipe 5.[PIPES] ############################################################ def get_pipe_schema(name: str) -> dict[str, dict[str, Any]]: @@ -229,7 +229,7 @@ def delete_pipe(name: str, pipe_id: str) -> ChangeSet: ############################################################ -# pump 4.[PUMPS] +# pump 6.[PUMPS] ############################################################ def get_pump_schema(name: str) -> dict[str, dict[str, Any]]: @@ -249,7 +249,7 @@ def delete_pump(name: str, pump_id: str) -> ChangeSet: ############################################################ -# valve 4.[VALVES] +# valve 7.[VALVES] ############################################################ def get_valve_schema(name: str) -> dict[str, dict[str, Any]]: