class_docstr: A factory for generating :class:`Arrow <arrow.arrow.Arrow>` objects.
  
  :param type: (optional) the :class:`Arrow <arrow.arrow.Arrow>`-based class to construct from.
      Defaults to :class:`Arrow <arrow.arrow.Arrow>`.
class_docstr_tok: ["A","factory","for","generating",":","class",":","`","Arrow","<","arrow.arrow.Arrow",">","`","objects",".",":","param","type",":","(","optional",")","the",":","class",":","`","Arrow","<","arrow.arrow.Arrow",">","`","-based","class","to","construct","from",".","Defaults","to",":","class",":","`","Arrow","<","arrow.arrow.Arrow",">","`","."]
docstr: Returns an :class:`Arrow <arrow.arrow.Arrow>` object, representing "now" in the given
  timezone.
  
  :param tz: (optional) A :ref:`timezone expression <tz-expr>`.  Defaults to local time.
  
  Usage::
  
      >>> import arrow
      >>> arrow.now()
      <Arrow [2013-05-07T22:19:11.363410-07:00]>
  
      >>> arrow.now('US/Pacific')
      <Arrow [2013-05-07T22:19:15.251821-07:00]>
  
      >>> arrow.now('+02:00')
      <Arrow [2013-05-08T07:19:25.618646+02:00]>
  
      >>> arrow.now('local')
      <Arrow [2013-05-07T22:19:39.130059-07:00]>
docstr_tok: ["Returns","an",":","class",":","`","Arrow","<","arrow.arrow.Arrow",">","`","object",",","representing","``","now","''","in","the","given","timezone",".",":","param","tz",":","(","optional",")","A",":","ref",":","`","timezone","expression","<","tz-expr",">","`",".","Defaults","to","local","time",".","Usage",":",":",">",">",">","import","arrow",">",">",">","arrow.now","(",")","<","Arrow","[","2013-05-07T22:19:11.363410-07:00","]",">",">",">",">","arrow.now","(","'US\/Pacific","'",")","<","Arrow","[","2013-05-07T22:19:15.251821-07:00","]",">",">",">",">","arrow.now","(","'+02:00","'",")","<","Arrow","[","2013-05-08T07:19:25.618646+02:00","]",">",">",">",">","arrow.now","(","'local","'",")","<","Arrow","[","2013-05-07T22:19:39.130059-07:00","]",">"]
code: def now(self, tz: Optional[TZ_EXPR] = None) -> Arrow:
      """Returns an :class:`Arrow <arrow.arrow.Arrow>` object, representing "now" in the given
      timezone.
  
      :param tz: (optional) A :ref:`timezone expression <tz-expr>`.  Defaults to local time.
  
      Usage::
  
          >>> import arrow
          >>> arrow.now()
          <Arrow [2013-05-07T22:19:11.363410-07:00]>
  
          >>> arrow.now('US/Pacific')
          <Arrow [2013-05-07T22:19:15.251821-07:00]>
  
          >>> arrow.now('+02:00')
          <Arrow [2013-05-08T07:19:25.618646+02:00]>
  
          >>> arrow.now('local')
          <Arrow [2013-05-07T22:19:39.130059-07:00]>
      """
  
      if tz is None:
          tz = dateutil_tz.tzlocal()
      elif not isinstance(tz, dt_tzinfo):
          tz = parser.TzinfoParser.parse(tz)
  
      return self.type.now(tz)
  
file_path: arrow-py/arrow/factory.py
imports: import calendar
  from datetime import date, datetime
  from datetime import tzinfo
  from decimal import Decimal
  from time import struct_time
  from typing import Any, List, Optional, Tuple, Type, Union, overload
  from dateutil import tz
  from arrow import parser
  from arrow.arrow import TZ_EXPR, Arrow
  from arrow.constants import DEFAULT_LOCALE
  from arrow.util import is_timestamp, iso_to_gregorian
label_desc: Use image node_id 8 for calling the ArrowFactory obj's underlying member method code with example usage: obj.now(tz) and returns: self