code: def poll(
      self, project_name: str, body: PollLogsRequest
  ) -> JobSubmissionLogs:
      resp = self._request(
          f"/api/project/{project_name}/logs/poll", body=body.json()
      )
      return parse_obj_as(JobSubmissionLogs, resp.json())
  
imports: from pydantic import parse_obj_as
  from dstack._internal.core.models.logs import JobSubmissionLogs
  from dstack._internal.server.schemas.logs import PollLogsRequest
  from dstack.api.server._group import APIClientGroup
label_desc: Use image node_id 1 for calling the LogsAPIClient obj's underlying member method code with example usage: obj.poll(project_name, body) and returns: parse_obj_as