code: def __init__(self, locale: str = DEFAULT_LOCALE) -> None:
      self.locale = locales.get_locale(locale)
  
file_path: arrow-py/arrow/formatter.py
imports: import re
  import sys
  from datetime import datetime, timedelta
  from typing import Optional, Pattern, cast
  from dateutil import tz
  from arrow import locales
  from arrow.constants import DEFAULT_LOCALE
label_desc: Use image node_id 1 to create a new DateTimeFormatter object  with example: obj = DateTimeFormatter(locale)