def get_utc_now(iso=False):
 now = datetime.utcnow().replace(tzinfo=iso8601.iso8601.UTC)
 if iso:
  return datetime_tuple_to_iso(now)
 else:
  return now

def get_utc_now ( iso = False ) : now = datetime . utcnow ( ) . replace ( tzinfo = iso8601 . iso8601 . UTC ) if iso : return datetime_tuple_to_iso ( now ) else : return now
returns datetime .