summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/features.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/features.py')
-rw-r--r--gitlab/v4/objects/features.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gitlab/v4/objects/features.py b/gitlab/v4/objects/features.py
index 2e92596..555d2df 100644
--- a/gitlab/v4/objects/features.py
+++ b/gitlab/v4/objects/features.py
@@ -2,7 +2,7 @@
GitLab API:
https://docs.gitlab.com/ee/api/features.html
"""
-from typing import Any, Optional, TYPE_CHECKING, Union
+from typing import Any, Optional, Union
from gitlab import exceptions as exc
from gitlab import utils
@@ -62,6 +62,4 @@ class FeatureManager(ListMixin, DeleteMixin, RESTManager):
}
data = utils.remove_none_from_dict(data)
server_data = self.gitlab.http_post(path, post_data=data, **kwargs)
- if TYPE_CHECKING:
- assert isinstance(server_data, dict)
return self._obj_cls(self, server_data)