code: async def import_image(self, data, stream: bool = False):
          
          headers = {"Content-Type": "application/x-tar"}
          response = await self.docker._query_chunked_post(
              "images/load", "POST", data=data, headers=headers
          )
          return await json_stream_result(response, stream=stream)
docs: Import tarball of image to docker.
  
          Args:
              data: tarball data of image to be imported
  
          Returns:
              Tarball of the image