code: def process_local_ssd_sku(
      sku: dict, regions: List[str]
  ) -> List[GCPLocalSSDDiskPrice]:
      category = sku["category"]
      assert category["resourceFamily"] == "Storage", sku
      assert category["resourceGroup"] == "LocalSSD", sku
  
      preemptible = preemptible_from_sku(sku)
      if preemptible is None:
          return []
  
      effective_start_date = parse_effective_start_date(sku)
  
      # https://cloud.google.com/billing/docs/reference/rest/v1/services.skus/list#sku
      pricing_info = sku["pricingInfo"][
          -1
      ]  # A timeline of pricing info for this SKU in chronological order.
      pricing_expression = pricing_info["pricingExpression"]
      assert pricing_expression["usageUnit"] == "GiBy.mo", sku
      cost_per_month = pricing_expression_to_price_per_unit(
          pricing_expression
      )
  
      local_ssd_prices = []
      service_regions = sku["serviceRegions"]
      for service_region in service_regions:
          if service_region in regions:
              local_ssd_prices.append(
                  GCPLocalSSDDiskPrice(
                      preemptible,
                      service_region,
                      cost_per_month,
                      sku["skuId"],
                      effective_start_date,
                  )
              )
      return local_ssd_prices
  
imports: import logging
  from typing import AsyncGenerator, List, Optional
  from hailtop.aiocloud import aiogoogle
  from hailtop.utils import rate_cpu_hour_to_mcpu_msec, rate_gib_hour_to_mib_msec, rate_gib_month_to_mib_msec, rate_instance_hour_to_fraction_msec
  from hailtop.utils.time import parse_timestamp_msecs
  from ....driver.pricing import Price
  from ..resources import GCPAcceleratorResource, GCPComputeResource, GCPLocalSSDStaticSizedDiskResource, GCPMemoryResource, GCPStaticSizedDiskResource
label_desc: Use image node_id 9 for calling a global function with example usage: process_local_ssd_sku(sku, regions) and returns: local_ssd_prices, list