code: def __init__(self) -> None:
      self._disabled = not wandb.env.error_reporting_enabled()
      self._sent_messages: set = set()
  
      self.dsn = os.environ.get(
          wandb.env.SENTRY_DSN, SENTRY_DEFAULT_DSN
      )
  
      self.hub: Optional[sentry_sdk.hub.Hub] = None
  
      # ensure we always end the Sentry session
      atexit.register(self.end_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 1 to create a new Sentry object  with example: obj = Sentry()