Skip to content

Commit 5dd814b

Browse files
author
Md Adil
committed
updated the __all__ section to include all 22 publicly exposed variables
1 parent 30c4075 commit 5dd814b

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

elasticapm/__init__.py

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
)
5050
from elasticapm.utils.disttracing import trace_parent_from_headers, trace_parent_from_string # noqa: F401
5151

52-
__all__ = ("VERSION", "Client")
5352

5453
_activation_method = None
5554

@@ -66,3 +65,28 @@
6665
raise DeprecationWarning("The Elastic APM agent requires Python 3.6+")
6766

6867
from elasticapm.contrib.asyncio.traces import async_capture_span # noqa: F401 E402
68+
69+
__all__ = (
70+
"VERSION",
71+
"Client",
72+
"get_client",
73+
"setup_logging",
74+
"capture_serverless",
75+
"instrument",
76+
"uninstrument",
77+
"capture_span",
78+
"async_capture_span",
79+
"get_span_id",
80+
"get_trace_id",
81+
"get_trace_parent_header",
82+
"get_transaction_id",
83+
"label",
84+
"set_context",
85+
"set_custom_context",
86+
"set_transaction_name",
87+
"set_transaction_outcome",
88+
"set_transaction_result",
89+
"set_user_context",
90+
"trace_parent_from_headers",
91+
"trace_parent_from_string",
92+
)

0 commit comments

Comments
 (0)