Skip to content

Commit

Permalink
feat: add missing methods for the Operations to the interface file
Browse files Browse the repository at this point in the history
  • Loading branch information
illya-laifu committed Jan 2, 2025
1 parent 608573d commit 4e4018a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion taskchampion.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ class Operation:
value: Optional[str]

class Operations:
def append(op: "Operation"): ...
def append(self, op: "Operation"): ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterator["Operation"]: ...
def __next__(self) -> "Operation": ...
def __getitem__(self, i: int) -> "Operation": ...

class Status(Enum):
Pending = 1
Expand Down

0 comments on commit 4e4018a

Please sign in to comment.