<gh_stars>0
from q2_api_client.clients.base_q2_client import BaseQ2Client
from q2_api_client.endpoints.v3_endpoints import FileEndpoint


class FileClient(BaseQ2Client):

    def retrieve_file(self, file_id):
        """POST /v3/file/{id}/retrieve

        :param str file_id: path parameter
        :return: Response object
        :rtype: requests.Response
        """
        endpoint = FileEndpoint.RETRIEVE_FILE.value.format(id=file_id)
        return self._post(url=self._build_url(endpoint))

from q2_api_client.clients.base_q2_client import BaseQ2Client
from q2_api_client.endpoints.v3_endpoints import FileEndpoint


class FileClient(BaseQ2Client):

    def retrieve_file(self, file_id):
        """POST /v3/file/{id}/retrieve

        :param str file_id: path parameter
        :return: Response object
        :rtype: requests.Response
        """
        endpoint = FileEndpoint.RETRIEVE_FILE.value.format(id=file_id)
        return self._post(url=self._build_url(endpoint))
POST /v3/file/{id}/retrieve          :param str file_id: path parameter         :return: Response object         :rtype: requests.Response