code: def __setattr__(self, key: str, value: Any) -> Any:
      if not key.startswith("_"):
          raise wandb.Error(
              f"You must call wandb.init() before {self._name}.{key}"
          )
      else:
          return object.__setattr__(self, key, value)
  
file_path: wandb/wandb/sdk/lib/preinit.py
imports: from typing import Any, Callable, Optional
  import wandb
label_desc: Use image node_id 4 for calling the PreInitObject obj's underlying member method code with example usage: obj.__setattr__(key, value) and returns: object