code: def set_defaults(cls, values):
      workspace = values.get("workspace") or values.get("owner")
  
      cls._check_workspace(workspace)
  
      values["workspace"] = workspace
      values["owner"] = workspace
  
      return values
  
file_path: argilla/src/argilla/server/daos/models/datasets.py
imports: from datetime import datetime
  from typing import Any, Dict, Optional, TypeVar, Union
  from argilla.server.commons.models import TaskType
  from argilla.server.constants import ES_INDEX_REGEX_PATTERN
  from argilla.server.pydantic_v1 import BaseModel, Field, root_validator
label_desc: Use image node_id 1 for calling the BaseDatasetDB obj's underlying member method code with example usage: obj.set_defaults(cls, values) and returns: values