class_docstr: Set color scheme event
class_docstr_tok: ["Set","color","scheme","event"]
code: def from_odm(cls, color_scheme: foo.ColorScheme):
      return cls(
          color_scheme=from_dict(ColorScheme, color_scheme.to_dict())
      )
  
imports: import base64
  from dataclasses import asdict, dataclass
  import re
  import typing
  import asyncio
  from bson import json_util
  from dacite import from_dict
  import eta.core.serial
  import eta.core.utils
  import fiftyone.core.odm.dataset
  import fiftyone.core.state
  from fiftyone.core.utils import lazy_import, run_sync_task
label_desc: Use image node_id 1 for calling the SetColorScheme obj's underlying member method code with example usage: obj.from_odm(cls, color_scheme) and returns: cls