From 91c7787ffaf1a313d683075afce539fb6167def8 Mon Sep 17 00:00:00 2001 From: Pastukhov Nikita Date: Mon, 25 Sep 2023 20:17:20 +0300 Subject: [PATCH] fix: add url option to _connection_args (#739) * docs: fix GH README * fix #737 --- faststream/__about__.py | 2 +- faststream/broker/core/abc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/faststream/__about__.py b/faststream/__about__.py index b931c298e3..ee1d14e5df 100644 --- a/faststream/__about__.py +++ b/faststream/__about__.py @@ -1,5 +1,5 @@ """Simple and fast framework to create message brokers based microservices""" -__version__ = "0.1.2" +__version__ = "0.1.3" INSTALL_YAML = """ diff --git a/faststream/broker/core/abc.py b/faststream/broker/core/abc.py index cf4cf5c116..e1942f59a0 100644 --- a/faststream/broker/core/abc.py +++ b/faststream/broker/core/abc.py @@ -168,7 +168,7 @@ def __init__( self.middlewares = [CriticalLogMiddleware(logger), *midd_args] self.dependencies = dependencies - self._connection_args = args + self._connection_args = (url, *args) self._connection_kwargs = kwargs self._global_parser = parser