code: def create(args: CLIFileCreateArgs) -> None:
      with open(args.file, "rb") as file_reader:
          buffer_reader = BufferReader(
              file_reader.read(), desc="Upload progress"
          )
  
      file = get_client().files.create(
          file=(args.file, buffer_reader),
          # casts required because the API is typed for enums
          # but we don't want to validate that here for forwards-compat
          purpose=cast(Any, args.purpose),
      )
      print_model(file)
  
file_path: openai-python/src/openai/cli/_api/files.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any, cast
  from argparse import ArgumentParser
  from .._utils import get_client, print_model
  from .._models import BaseModel
  from .._progress import BufferReader
label_desc: Use image node_id 1 for calling the CLIFile obj's underlying member method code with example usage: obj.create(args) without return types