File: __init__.py

package info (click to toggle)
python-applicationinsights 0.11.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 876 kB
  • sloc: python: 5,948; makefile: 151; sh: 77
file content (10 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
from .middleware import ApplicationInsightsMiddleware
from .logging import LoggingHandler
from . import common

__all__ = ['ApplicationInsightsMiddleware', 'LoggingHandler', 'create_client']

def create_client():
    """Returns an :class:`applicationinsights.TelemetryClient` instance using the instrumentation key
    and other settings found in the current Django project's `settings.py` file."""
    return common.create_client()