We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a99a79 + 94d4e68 commit b0b17bfCopy full SHA for b0b17bf
1 file changed
leancloud/client.py
@@ -84,7 +84,11 @@ def new_func(*args, **kwargs):
84
"Content-Type": "application/json;charset=utf-8",
85
"X-LC-Id": APP_ID,
86
"X-LC-Prod": USE_PRODUCTION,
87
- "User-Agent": "AVOS Cloud python-{0} SDK".format(leancloud.__version__),
+ "User-Agent": "AVOS Cloud python-{0} SDK ({1}.{2})".format(
88
+ leancloud.__version__,
89
+ leancloud.version_info.major,
90
+ leancloud.version_info.minor,
91
+ ),
92
}
93
md5sum = hashlib.md5()
94
current_time = six.text_type(int(time.time() * 1000))
0 commit comments