code: def _to_bindings(self) -> bindings.v1LogLevel:
      return bindings.v1LogLevel(self.value)
  
imports: import datetime
  import enum
  import inspect
  import warnings
  from typing import Any, Dict, Iterable, List, Optional, Union
  from determined.common import api, util
  from determined.common.api import bindings, logs
  from determined.common.experimental import checkpoint, metrics
  from determined.common.experimental._util import OrderBy
label_desc: Use image node_id 1 for calling the LogLevel obj's underlying member method code with example usage: obj._to_bindings() and returns: bindings