We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9059a7 commit 4ee4629Copy full SHA for 4ee4629
wrappers/python/wirepas_messaging/__init__.py
@@ -13,5 +13,21 @@
13
except ImportError:
14
print("Could not import WPE handles")
15
16
+
17
+from google.protobuf.internal import api_implementation
18
19
+warning_msg = """
20
+***********************************************************************
21
+* WARNING:
22
+* You are using the pure python protobuf implementation.
23
+* For better results, please consider using the cpp version.
24
+* For more information please consult:
25
+* https://github.com/protocolbuffers/protobuf/tree/master/python
26
27
+"""
28
+if api_implementation._default_implementation_type == "python":
29
+ print(warning_msg)
30
31
__title__ = "wirepas_messaging"
32
__version__ = "1.2.0rc1"
33
0 commit comments