Skip to content

Commit

Permalink
Merge pull request #27 from illya-laifu/add_missing_self
Browse files Browse the repository at this point in the history
feat: add missing methods for the Operations to the interface file
  • Loading branch information
illya-laifu authored Jan 3, 2025
2 parents 9ffd6d6 + 4e4018a commit ecffd73
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 ecffd73

Please sign in to comment.