code: def sample_checkpoint(
      standard_session: api.Session,
  ) -> checkpoint.Checkpoint:
      bindings_checkpoint = (
          api_responses.sample_get_checkpoint().checkpoint
      )
      return checkpoint.Checkpoint._from_bindings(
          bindings_checkpoint, standard_session
      )
  
file_path: determined/harness/tests/determined/common/storage/test_s3.py
imports: import os
  import boto3
  import moto
  import pytest
  from determined.common import api, storage
  from determined.common.experimental import checkpoint
  from tests.fixtures import api_responses
label_desc: Use image node_id 2 for calling a global function with example usage: sample_checkpoint(standard_session) and returns: checkpoint