docstr: Start a new session.
docstr_tok: ["Start","a","new","session","."]
code: def start_session(self) -> None:
      """Start a new session."""
      assert self.hub is not None
      # get the current client and scope
      _, scope = self.hub._stack[-1]
      session = scope._session
  
      # if there's no session, start one
      if session is None:
          self.hub.start_session()
  
imports: import atexit
  import functools
  import os
  import pathlib
  import sys
  from types import TracebackType
  from typing import TYPE_CHECKING, Any, Callable, Dict, Optional, Tuple, Type, Union
  from urllib.parse import quote
  import sentry_sdk
  import sentry_sdk.utils
  import wandb
  import wandb.env
  import wandb.util
label_desc: Use image node_id 7 for calling the Sentry obj's underlying member method code with example usage: obj.start_session() without return types