|
4 | 4 |
|
5 | 5 | from gitlab import cli |
6 | 6 | from gitlab import exceptions as exc |
7 | | -from gitlab import utils |
8 | 7 | from gitlab.base import RESTManager, RESTObject |
9 | 8 | from gitlab.mixins import RefreshMixin, RetrieveMixin |
10 | 9 | from gitlab.types import ArrayAttribute |
@@ -149,7 +148,7 @@ def artifacts( |
149 | 148 | ) |
150 | 149 | if TYPE_CHECKING: |
151 | 150 | assert isinstance(result, requests.Response) |
152 | | - return utils.response_content( |
| 151 | + return self.manager.gitlab._backend.response_content( |
153 | 152 | result, streamed, action, chunk_size, iterator=iterator |
154 | 153 | ) |
155 | 154 |
|
@@ -192,7 +191,7 @@ def artifact( |
192 | 191 | ) |
193 | 192 | if TYPE_CHECKING: |
194 | 193 | assert isinstance(result, requests.Response) |
195 | | - return utils.response_content( |
| 194 | + return self.manager.gitlab._backend.response_content( |
196 | 195 | result, streamed, action, chunk_size, iterator=iterator |
197 | 196 | ) |
198 | 197 |
|
@@ -233,7 +232,7 @@ def trace( |
233 | 232 | ) |
234 | 233 | if TYPE_CHECKING: |
235 | 234 | assert isinstance(result, requests.Response) |
236 | | - return_value = utils.response_content( |
| 235 | + return_value = self.manager.gitlab._backend.response_content( |
237 | 236 | result, streamed, action, chunk_size, iterator=iterator |
238 | 237 | ) |
239 | 238 | if TYPE_CHECKING: |
|
0 commit comments