
This patch adds several guidelines: * Global constants should be ALL_CAPS (cfg => CFG) * Prefer single-quotes over double-quotes ("foo" => 'foo') * Place a space before TODO in comments ("#TODO" => "# TODO") Change-Id: Ib5b5c5916744856eca2ecaa37e949a3cdc4b3bd7
18 lines
359 B
Python
18 lines
359 B
Python
"""Marconi Transport Drivers"""
|
|
|
|
from marconi.common import config
|
|
from marconi.transport import base
|
|
|
|
OPTIONS = {
|
|
'auth_strategy': ""
|
|
}
|
|
|
|
CFG = config.project('marconi').from_options(**OPTIONS)
|
|
|
|
MAX_QUEUE_METADATA_SIZE = 64 * 1024
|
|
"""Maximum metadata size per queue when serialized as JSON"""
|
|
|
|
|
|
# Hoist into package namespace
|
|
DriverBase = base.DriverBase
|