code: def create_backend(
      self, project: ProjectModel, config: LambdaConfigInfoWithCreds
  ) -> BackendModel:
      if config.regions is None:
          config.regions = REGIONS
      return BackendModel(
          project_id=project.id,
          type=self.TYPE.value,
          config=LambdaStoredConfig(
              **LambdaConfigInfo.parse_obj(config).dict()
          ).json(),
          auth=LambdaCreds.parse_obj(config.creds).json(),
      )
  
imports: import json
  from typing import List
  from requests import HTTPError
  from dstack._internal.core.backends.base import Backend
  from dstack._internal.core.backends.lambdalabs import LambdaBackend, api_client
  from dstack._internal.core.backends.lambdalabs.config import LambdaConfig
  from dstack._internal.core.errors import BackendInvalidCredentialsError
  from dstack._internal.core.models.backends.base import BackendType, ConfigElementValue, ConfigMultiElement
  from dstack._internal.core.models.backends.lambdalabs import AnyLambdaConfigInfo, LambdaConfigInfo, LambdaConfigInfoWithCreds, LambdaConfigInfoWithCredsPartial, LambdaConfigValues, LambdaCreds, LambdaStoredConfig
  from dstack._internal.server.models import BackendModel, ProjectModel
  from dstack._internal.server.services.backends.configurators.base import Configurator, raise_invalid_credentials_error
label_desc: Use image node_id 3 for calling the LambdaConfigurator obj's underlying member method code with example usage: obj.create_backend(project, config) and returns: BackendModel