-
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 ... project At |
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.py
you will find a configuration from.env
file example inapp.on_startup
hook