diff options
Diffstat (limited to 'gitlab/v4/objects/todos.py')
-rw-r--r-- | gitlab/v4/objects/todos.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gitlab/v4/objects/todos.py b/gitlab/v4/objects/todos.py index e441eff..6eebf6e 100644 --- a/gitlab/v4/objects/todos.py +++ b/gitlab/v4/objects/todos.py @@ -1,4 +1,4 @@ -from typing import Any, Dict, TYPE_CHECKING +from typing import Any, Dict from gitlab import cli from gitlab import exceptions as exc @@ -29,8 +29,6 @@ class Todo(ObjectDeleteMixin, RESTObject): """ path = f"{self.manager.path}/{self.id}/mark_as_done" server_data = self.manager.gitlab.http_post(path, **kwargs) - if TYPE_CHECKING: - assert isinstance(server_data, dict) self._update_attrs(server_data) return server_data |