-
|
I don't know the connection URL for my message bus until after I've had to chance to parse my configuration file and user input. Is there a way to delay the configuration of the router? I'm wondering if we might be able to do something clever with 'top-level dependencies'. Alternatively, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
@tolmanam sure, you can specify all connection arguments at Example from documentation: from propan import RedisBroker
broker = RedisBroker()
...
await broker.connect("redis://localhost:6379/")Also, please, generate any Propan template by the command: propan create async ... projectAt |
Beta Was this translation helpful? Give feedback.
@tolmanam sure, you can specify all connection arguments at
broker.connect()methodExample from documentation:
Also, please, generate any Propan template by the command:
At
project/app/serve.pyyou will find a configuration from.envfile example inapp.on_startuphook