code: def run(self) -> None:
      if self._run is not None:
          return
  
      if self._api_key:
          os.environ["WANDB_API_KEY"] = self._api_key
  
      import wandb
  
      self._run = wandb.init(
          project=self.project_name,
          id=self.run_id,
          entity=self.username,
      )
  
file_path: pytorch-lightning/src/lightning/app/cli/pl-app-template/core/components/logger/weights_and_biases.py
imports: import os
  from typing import TYPE_CHECKING, Dict, List, Optional
  from lightning.app import LightningFlow
label_desc: Use image node_id 2 for calling the WeightsAndBiases obj's underlying member method code with example usage: obj.run() without return types