""" Python client for Taskcluster """
from __future__ import absolute_import, division, print_function, unicode_literals

import logging
import os
from .client import createSession  # NOQA
from .client import createTemporaryCredentials  # NOQA
from taskcluster.utils import *  # NOQA
from taskcluster.exceptions import *  # NOQA
from taskcluster.generated._client_importer import *  # NOQA

log = logging.getLogger(__name__)

if os.environ.get("DEBUG_TASKCLUSTER_CLIENT"):
    log.setLevel(logging.DEBUG)
    if len(log.handlers) == 0:
        log.addHandler(logging.StreamHandler())
log.addHandler(logging.NullHandler())
