Skip to content

Commit 483c57e

Browse files
committed
correct import statement
1 parent 82b0658 commit 483c57e

File tree

1 file changed

+4
-2
lines changed
  • sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics

1 file changed

+4
-2
lines changed

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_user_agent.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# Licensed under the MIT License.
55
# ------------------------------------
66

7-
import platform
7+
from ._version import VERSION
88

9-
USER_AGENT = "ai-textanalytics/{}".format(VERSION)
9+
USER_AGENT = "ai-textanalytics/{} Python/{} ({})".format(
10+
VERSION, platform.python_version(), platform.platform()
11+
)

0 commit comments

Comments
 (0)