class_docstr: Specifies checkpoint parameters that can be used for sorting checkpoints.
class_docstr_tok: ["Specifies","checkpoint","parameters","that","can","be","used","for","sorting","checkpoints","."]
code: def _to_bindings(self) -> bindings.checkpointv1SortBy:
      return bindings.checkpointv1SortBy(self.value)
  
imports: import dataclasses
  import enum
  import json
  import logging
  import pathlib
  import shutil
  import sys
  import tarfile
  import warnings
  from typing import Any, Dict, Iterable, List, Optional
  from determined import errors
  from determined.common import api, constants, storage
  from determined.common.api import bindings
  from determined.common.experimental import metrics
  from determined.common.storage import shared
label_desc: Use image node_id 1 for calling the CheckpointSortBy obj's underlying member method code with example usage: obj._to_bindings() and returns: bindings