tasks/libs/common/gitlab.py
def make_request(
        self, path, headers=None, data=None, json_input=False, json_output=False, stream_output=False, method=None
    ):
        """
        Utility to make a request to the Gitlab API.
        See RemoteAPI#request.

        Adds "PRIVATE-TOKEN: {self.api_token}" to the headers to be able to authenticate ourselves to GitLab.
        """
        headers = dict(headers or [])
        headers["PRIVATE-TOKEN"] = self.api_token

        return self.request(
            path=path,
            headers=headers,
            data=data,
            json_input=json_input,
            json_output=json_output,
            stream_output=stream_output,
            raw_output=False,
            method=method,
        )

        Utility to make a request to the Gitlab API.
        See RemoteAPI#request.

        Adds "PRIVATE-TOKEN: {self.api_token}" to the headers to be able to authenticate ourselves to GitLab.
        
Utility to make a request to the Gitlab API.

Adds "PRIVATE-TOKEN: {self.api_token}" to the headers to be able to authenticate ourselves to GitLab.
Utility to make a request to the Gitlab API . Adds " PRIVATE - TOKEN : { self . api_token } " to the headers to be able to authenticate ourselves to GitLab .
def make_request(
        self, path, headers=None, data=None, json_input=False, json_output=False, stream_output=False, method=None
    ):
        headers = dict(headers or [])
        headers["PRIVATE-TOKEN"] = self.api_token
        return self.request(
            path=path,
            headers=headers,
            data=data,
            json_input=json_input,
            json_output=json_output,
            stream_output=stream_output,
            raw_output=False,
            method=method,
        )
def make_request ( self , path , headers = None , data = None , json_input = False , json_output = False , stream_output = False , method = None ) : headers = dict ( headers or [ ] ) headers [ "PRIVATE-TOKEN" ] = self . api_token return self . request ( path = path , headers = headers , data = data , json_input = json_input , json_output = json_output , stream_output = stream_output , raw_output = False , method = method , )
Utility to make a request to the Gitlab API.
Utility to make a request to the Gitlab API .
"""
        Utility to make a request to the Gitlab API.
        See RemoteAPI#request.

        Adds "PRIVATE-TOKEN: {self.api_token}" to the headers to be able to authenticate ourselves to GitLab.
        """
self
path
headers
data
json_input
json_output
stream_output
method