You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the get_broker function in brokers.__init__.py, when returning a broker for a custom broker class (Conf.BROKER_CLASS), the parameter passed to broker is currently:
if Conf.BROKER_CLASS:
module, func = Conf.BROKER_CLASS.rsplit('.', 1)
m = importlib.import_module(module)
broker = getattr(m, func)
return broker(list_key=list)
The last line above (line 166 in brokers.__init__.py) should use list_key=list_key instead of list_key=list as parameter to the broker function call:
if Conf.BROKER_CLASS:
module, func = Conf.BROKER_CLASS.rsplit('.', 1)
m = importlib.import_module(module)
broker = getattr(m, func)
return broker(list_key=list_key)
The typo as it is now causes custom broker classes to fail when trying to connect because the list_key (with the value as a list class) causes a bad connection URL.
The text was updated successfully, but these errors were encountered:
In the
get_broker
function inbrokers.__init__.py
, when returning a broker for a custom broker class (Conf.BROKER_CLASS
), the parameter passed tobroker
is currently:The last line above (line 166 in
brokers.__init__.py
) should uselist_key=list_key
instead oflist_key=list
as parameter to thebroker
function call:The typo as it is now causes custom broker classes to fail when trying to connect because the
list_key
(with the value as alist
class) causes a bad connection URL.The text was updated successfully, but these errors were encountered: