class_docstr: Convert an Orion space into a configspace
docstr: Raise an error if the visitor is called on an abstract class
docstr_tok: ["Raise","an","error","if","the","visitor","is","called","on","an","abstract","class"]
code: def dimension(self, dim: Dimension) -> None:
      """Raise an error if the visitor is called on an abstract class"""
      raise NotImplementedError()
  
imports: from __future__ import annotations
  from copy import deepcopy
  from functools import singledispatch
  from math import log10
  from orion.algo.space import Categorical, Dimension, Fidelity, Integer, Real, Space, SpaceConverter, to_orionspace
label_desc: Use image node_id 2 for calling the ToConfigSpace obj's underlying member method code with example usage: obj.dimension(dim) without return types