code: def callback(
      ctx: typer.Context,
      name: Optional[str] = typer.Option(
          None,
          help="The name of the `FeedbackDataset` to which apply the command",
      ),
      workspace: Optional[str] = typer.Option(
          None,
          help="The name of the workspace where the `FeedbackDataset` belongs",
      ),
  ) -> None:
      init_callback()
  
      from argilla.cli.rich import echo_in_panel
      from argilla.client.feedback.dataset.local.dataset import (
          FeedbackDataset,
      )
  
      if ctx.invoked_subcommand not in _COMMANDS_REQUIRING_DATASET:
          return
  
      if name is None:
          raise typer.BadParameter(
              "The command requires a workspace name provided using '--name' option"
          )
  
      try:
          dataset = FeedbackDataset.from_argilla(
              name=name, workspace=workspace
          )
      except ValueError as e:
          echo_in_panel(
              f"`FeedbackDataset` with name={name} not found in Argilla. Try using '--workspace' option."
              if not workspace
              else f"`FeedbackDataset with name={name} and workspace={workspace} not found in Argilla.",
              title="Dataset not found",
              title_align="left",
              success=False,
          )
          raise typer.Exit(1) from e
      except Exception as e:
          echo_in_panel(
              "An unexpected error occurred when trying to get the `FeedbackDataset` from Argilla.",
              title="Unexpected error",
              title_align="left",
              success=False,
          )
          raise typer.Exit(code=1) from e
  
      ctx.obj = dataset
  
imports: from typing import Optional
  import typer
  from argilla.cli.callback import init_callback
  from argilla.cli.datasets.delete import delete_dataset
  from argilla.cli.datasets.list import list_datasets
  from argilla.cli.datasets.push import push_to_huggingface
label_desc: Use image node_id 1 for calling a global function with example usage: callback(ctx, name, workspace) without return types