class_docstr: Callable objective function to be used with optuna.
class_docstr_tok: ["Callable","objective","function","to","be","used","with","optuna","."]
code: def omegaconf_to_dict(
      config: Optional[DictConfig],
  ) -> Union[dict, None]:
      if config is not None:
          return OmegaConf.to_container(config)
      else:
          return None
  
imports: import dataclasses
  import logging
  import pickle
  import time
  from pathlib import Path
  from typing import Optional, Union
  import numpy
  import pandas
  from hpt.suggest import suggest_callable_hyperparams
  from omegaconf import DictConfig, OmegaConf
  from optuna.trial import BaseTrial
  from ..evaluation import evaluate_fairness, evaluate_performance
  from ..methods import InProcessing, PostProcessing, PreProcessing
  from ..methods.postprocessing.threshold import Threshold
label_desc: Use image node_id 10 for calling the ObjectiveFunction obj's underlying member method code with example usage: obj.omegaconf_to_dict(config) and returns: OmegaConf, None