feat: flask_nameko add params 2
This commit is contained in:
parent
59815cbc74
commit
5df773c958
|
@ -60,10 +60,10 @@ class LazyServiceProxy(object):
|
|||
|
||||
|
||||
class FlaskPooledClusterRpcProxy(PooledClusterRpcProxy):
|
||||
def __init__(self, app=None, connect_on_method_call=True):
|
||||
def __init__(self, app=None, connect_on_method_call=True, extra_config=None):
|
||||
self._connect_on_method_call = connect_on_method_call
|
||||
if app:
|
||||
self.init_app(app)
|
||||
self.init_app(app, extra_config=extra_config)
|
||||
|
||||
def init_app(self, app, extra_config=None):
|
||||
config = dict()
|
||||
|
|
Loading…
Reference in New Issue