summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/packages.py
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2023-02-12 12:30:29 +0100
committerNejc Habjan <nejc.habjan@siemens.com>2023-03-12 09:39:54 +0100
commitab089fbf04d8946a4748723dfd3029a943a43b2f (patch)
tree26a7d0c534abfbeffbe54808ffa3e755db85479e /gitlab/v4/objects/packages.py
parent07d03dc959128e05d21e8dfd79aa8e916ab5b150 (diff)
downloadgitlab-refactor/response-content-backend.tar.gz
refactor: move response_content into backend coderefactor/response-content-backend
Diffstat (limited to 'gitlab/v4/objects/packages.py')
-rw-r--r--gitlab/v4/objects/packages.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gitlab/v4/objects/packages.py b/gitlab/v4/objects/packages.py
index 9ae2fd5..93c623f 100644
--- a/gitlab/v4/objects/packages.py
+++ b/gitlab/v4/objects/packages.py
@@ -11,7 +11,6 @@ import requests
from gitlab import cli
from gitlab import exceptions as exc
-from gitlab import utils
from gitlab.base import RESTManager, RESTObject
from gitlab.mixins import DeleteMixin, GetMixin, ListMixin, ObjectDeleteMixin
@@ -136,7 +135,7 @@ class GenericPackageManager(RESTManager):
result = self.gitlab.http_get(path, streamed=streamed, raw=True, **kwargs)
if TYPE_CHECKING:
assert isinstance(result, requests.Response)
- return utils.response_content(
+ return self.gitlab._backend.response_content(
result, streamed, action, chunk_size, iterator=iterator
)