code: def holiday_from_proto_value(value: int) -> BankHolidaysProtoType:
      """Creates BankHolidays from a proto field value."""
      return BankHolidays(business_days_pb2.BankHolidays.Name(value))
  
imports: import enum
  from tf_quant_finance.experimental.pricing_platform.instrument_protos import business_days_pb2
label_desc: Use image node_id 2 for calling a global function with example usage: holiday_from_proto_value(value) and returns: BankHolidays