summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/packages.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/packages.py')
-rw-r--r--gitlab/v4/objects/packages.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/gitlab/v4/objects/packages.py b/gitlab/v4/objects/packages.py
index 0461bdc..0b70ad4 100644
--- a/gitlab/v4/objects/packages.py
+++ b/gitlab/v4/objects/packages.py
@@ -78,8 +78,6 @@ class GenericPackageManager(RESTManager):
url = f"{self._computed_path}/{package_name}/{package_version}/{file_name}"
server_data = self.gitlab.http_put(url, post_data=file_data, raw=True, **kwargs)
- if TYPE_CHECKING:
- assert isinstance(server_data, dict)
return self._obj_cls(
self,