code: def keypoint_scale(
      keypoint: KeypointInternalType, scale_x: float, scale_y: float
  ) -> KeypointInternalType:
      """Scales a keypoint by scale_x and scale_y.
  
      Args:
          keypoint: A keypoint `(x, y, angle, scale)`.
          scale_x: Scale coefficient x-axis.
          scale_y: Scale coefficient y-axis.
  
      Returns:
          A keypoint `(x, y, angle, scale)`.
  
      """
      x, y, angle, scale = keypoint[:4]
      return (
          x * scale_x,
          y * scale_y,
          angle,
          scale * max(scale_x, scale_y),
      )
  
imports: import math
  from typing import List, Optional, Sequence, Tuple, Union
  import cv2
  import numpy
  import skimage.transform
  from scipy.ndimage import gaussian_filter
  from albumentations.augmentations.utils import _maybe_process_in_chunks, angle_2pi_range, clipped, preserve_channel_dim, preserve_shape
  from ...None import random_utils
  from ...core.bbox_utils import denormalize_bbox, normalize_bbox
  from ...core.transforms_interface import BoxInternalType, FillValueType, ImageColorType, KeypointInternalType
label_desc: Use image node_id 12 for calling a global function with example usage: keypoint_scale(keypoint, scale_x, scale_y) and returns: unknown,  unknown,  angle,  unknown