code: def raise_for_status(self, resp: requests.Response):
      if resp.status_code == 400:
          raise NebiusError(resp.text)
      if resp.status_code == 401:
          raise ClientError(resp.text)
      if resp.status_code == 403:
          raise ForbiddenError(resp.text)
      if resp.status_code == 404:
          raise NotFoundError(resp.text)
      if resp.status_code == 409:
          raise ConflictError(resp.text)
      resp.raise_for_status()
  
imports: import time
  from typing import Dict, List, Optional
  import jwt
  import requests
  from dstack._internal.core.backends.nebius.types import ClientError, ConflictError, ForbiddenError, NebiusError, NotFoundError, ResourcesSpec, ServiceAccount
  from dstack._internal.utils.logging import get_logger
label_desc: Use image node_id 19 for calling the NebiusAPIClient obj's underlying member method code with example usage: obj.raise_for_status(resp) without return types