Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# Flatbuffers Serializer
try:
from autobahn.wamp.serializer import FlatBuffersObjectSerializer
flatbuffers = FlatBuffersObjectSerializer.FLATBUFFERS_MODULE
v.flatbuffers_ver = '{}-{}'.format(flatbuffers.__name__, _get_version(flatbuffers))
supported_serializers.append('Flatbuffers')
except ImportError:
pass
v.supported_serializers = supported_serializers
# LMDB
try:
import lmdb # noqa
lmdb_lib_ver = '.'.join([str(x) for x in lmdb.version()])
v.lmdb_ver = '{}/lmdb-{}'.format(_get_version(lmdb), lmdb_lib_ver)
except ImportError:
pass
# crossbar
v.crossbar_ver = crossbar.__version__
# crossbarfx
try:
import crossbarfx # noqa
v.crossbarfx_ver = _get_version(crossbarfx)
except ImportError:
pass
# zlmdb
try: