summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/jobs.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/jobs.py')
-rw-r--r--gitlab/v4/objects/jobs.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/gitlab/v4/objects/jobs.py b/gitlab/v4/objects/jobs.py
index 952c295..02a4ee4 100644
--- a/gitlab/v4/objects/jobs.py
+++ b/gitlab/v4/objects/jobs.py
@@ -4,7 +4,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 RefreshMixin, RetrieveMixin
from gitlab.types import ArrayAttribute
@@ -149,7 +148,7 @@ class ProjectJob(RefreshMixin, 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
)
@@ -192,7 +191,7 @@ class ProjectJob(RefreshMixin, 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
)
@@ -233,7 +232,7 @@ class ProjectJob(RefreshMixin, RESTObject):
)
if TYPE_CHECKING:
assert isinstance(result, requests.Response)
- return_value = utils.response_content(
+ return_value = self.manager.gitlab._backend.response_content(
result, streamed, action, chunk_size, iterator=iterator
)
if TYPE_CHECKING: