code: async def inspect(self, task_id: str) -> Mapping[str, Any]:
          
  
          response = await self.docker._query_json(
              "tasks/{task_id}".format(task_id=task_id), method="GET"
          )
          return response
docs: Return info about a task
  
          Args:
              task_id: is ID of the task