File: __init__.py

package info (click to toggle)
python-aws-xray-sdk 0.95-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 792 kB
  • sloc: python: 3,006; makefile: 20
file content (17 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from .recorder import AWSXRayRecorder
from .patcher import patch_all, patch
from .utils.compat import PY35


if not PY35:
    xray_recorder = AWSXRayRecorder()
else:
    from .async_recorder import AsyncAWSXRayRecorder
    xray_recorder = AsyncAWSXRayRecorder()

__all__ = [
    'patch',
    'patch_all',
    'xray_recorder',
    'AWSXRayRecorder',
]