diff options
author | Nejc Habjan <nejc.habjan@siemens.com> | 2023-02-12 12:30:29 +0100 |
---|---|---|
committer | Nejc Habjan <nejc.habjan@siemens.com> | 2023-03-12 09:39:54 +0100 |
commit | ab089fbf04d8946a4748723dfd3029a943a43b2f (patch) | |
tree | 26a7d0c534abfbeffbe54808ffa3e755db85479e /gitlab/v4/objects/secure_files.py | |
parent | 07d03dc959128e05d21e8dfd79aa8e916ab5b150 (diff) | |
download | gitlab-refactor/response-content-backend.tar.gz |
refactor: move response_content into backend coderefactor/response-content-backend
Diffstat (limited to 'gitlab/v4/objects/secure_files.py')
-rw-r--r-- | gitlab/v4/objects/secure_files.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gitlab/v4/objects/secure_files.py b/gitlab/v4/objects/secure_files.py index a7da5ea..98d0c2a 100644 --- a/gitlab/v4/objects/secure_files.py +++ b/gitlab/v4/objects/secure_files.py @@ -8,7 +8,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 NoUpdateMixin, ObjectDeleteMixin from gitlab.types import FileAttribute, RequiredOptional @@ -53,7 +52,7 @@ class ProjectSecureFile(ObjectDeleteMixin, RESTObject): ) if TYPE_CHECKING: assert isinstance(result, requests.Response) - return utils.response_content( + return self.manager.gitlab._backend.response_content( result, streamed, action, chunk_size, iterator=iterator ) |