Skip to content

Commit 0777fc9

Browse files
authored
chore(core): expose modules in the Top-level package (#1517)
1 parent c981ea5 commit 0777fc9

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

Diff for: aws_lambda_powertools/__init__.py

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
# -*- coding: utf-8 -*-
22

3+
"""Top-level package for Lambda Python Powertools."""
4+
35
from pathlib import Path
46

5-
"""Top-level package for Lambda Python Powertools."""
6-
from .logging import Logger # noqa: F401
7-
from .metrics import Metrics, single_metric # noqa: F401
7+
from .logging import Logger
8+
from .metrics import Metrics, single_metric
89
from .package_logger import set_package_logger_handler
9-
from .tracing import Tracer # noqa: F401
10+
from .tracing import Tracer
1011

1112
__author__ = """Amazon Web Services"""
13+
__all__ = [
14+
"Logger",
15+
"Metrics",
16+
"single_metric",
17+
"Tracer",
18+
]
1219

1320
PACKAGE_PATH = Path(__file__).parent
1421

0 commit comments

Comments
 (0)