code: def test_MulticlassLabel_example():
      n = 4
      model = vowpalwabbit.Workspace(
          loss_function="logistic", oaa=n, quiet=True
      )
      ex = model.example("1 | a b c d", 2)
      ml2 = vowpalwabbit.MulticlassLabel.from_example(ex)
      assert ml2.label == 1
      assert ml2.weight == 1.0
      assert ml2.prediction == 0
      assert str(ml2) == "1"
  
imports: import os
  from pathlib import Path
  import vowpalwabbit
  from vowpalwabbit import Workspace
  import pytest
  import warnings
  import filecmp
label_desc: Use image node_id 33 for calling a global function with example usage: test_MulticlassLabel_example() without return types