code: def get(*locale_codes: str) -> "Locale":
      """Returns the closest match for the given locale codes.
  
      We iterate over all given locale codes in order. If we have a tight
      or a loose match for the code (e.g., "en" for "en_US"), we return
      the locale. Otherwise we move to the next code in the list.
  
      By default we return ``en_US`` if no translations are found for any of
      the specified locales. You can change the default locale with
      `set_default_locale()`.
      """
      return Locale.get_closest(*locale_codes)
  
imports: import codecs
  import csv
  import datetime
  import gettext
  import glob
  import os
  import re
  from tornado import escape
  from tornado.log import gen_log
  from tornado._locale_data import LOCALE_NAMES
  from typing import Iterable, Any, Union, Dict, Optional
label_desc: Use image node_id 1 for calling a global function with example usage: get() and returns: Locale