Skip to content

Commit

Permalink
fix mypy self check
Browse files Browse the repository at this point in the history
Signed-off-by: flashdagger <flashdagger@googlemail.com>
  • Loading branch information
flashdagger committed Jul 25, 2024
1 parent 8a38e1c commit f2bc438
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zammadoo/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class MutableResource(Resource):
updated_at = DateTime()
updated_by = UserProperty()

def update(self: "Self", **kwargs) -> "Self":
def update(self, **kwargs) -> "Self":
"""
Update the resource properties.
Expand Down
2 changes: 1 addition & 1 deletion zammadoo/tickets.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def create_time_accounting(

return self.parent.client.time_accountings.create(self.id, **kwargs)

def update(self: "Self", **kwargs) -> "Self":
def update(self, **kwargs) -> "Self":
"""
Update the ticket properties.
Expand Down

0 comments on commit f2bc438

Please sign in to comment.