Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Discussion options

You must be logged in to vote

@tolmanam sure, you can specify all connection arguments at broker.connect() method

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 project/app/serve.py you will find a configuration from .env file example in app.on_startup hook

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tolmanam
Comment options

Answer selected by Lancetnik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants