summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/keys.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-11-24 17:43:46 -0800
committerJohn L. Villalovos <john@sodarock.com>2021-11-24 20:41:36 -0800
commit308210b3dee15c844cd5db4ddd8c7404bb188990 (patch)
tree4df88a7a967e209afcf2efea9efc5fd8be358128 /gitlab/v4/objects/keys.py
parentab82fd84ba3cecf766915112dcb46fdfab383e73 (diff)
downloadgitlab-jlvillal/mypy_strict.tar.gz
WIP: work on enable mypy 'strict' modejlvillal/mypy_strict
Diffstat (limited to 'gitlab/v4/objects/keys.py')
-rw-r--r--gitlab/v4/objects/keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/keys.py b/gitlab/v4/objects/keys.py
index 46f6894..c03dced 100644
--- a/gitlab/v4/objects/keys.py
+++ b/gitlab/v4/objects/keys.py
@@ -31,4 +31,4 @@ class KeyManager(GetMixin, RESTManager):
server_data = self.gitlab.http_get(self.path, **kwargs)
if TYPE_CHECKING:
assert isinstance(server_data, dict)
- return cast(Key, self._obj_cls(self, server_data))
+ return self._obj_cls(self, server_data)