autobahn¶
Submodules¶
Attributes¶
Functions¶
Check that autobahn and zlmdb have the same vendored flatbuffers version. |
Package Contents¶
- check_zlmdb_flatbuffers_version_in_sync() str[source]¶
Check that autobahn and zlmdb have the same vendored flatbuffers version.
This is important for applications like Crossbar.io that use both autobahn (for data-in-transit) and zlmdb (for data-at-rest) with FlatBuffers serialization. When sending a FlatBuffers database record as a WAMP application payload, both libraries must use compatible FlatBuffers runtimes to avoid subtle serialization issues.
- Returns:
The vendored flatbuffers version string (e.g. “25.12.19”) if both are in sync.
- Raises:
RuntimeError – If the versions differ.
ImportError – If zlmdb is not installed.
Example:
import autobahn version = autobahn.check_zlmdb_flatbuffers_version_in_sync() print(f"FlatBuffers version: {version}")