Smosker
Smosker
also seeing this, will it be solved on current version?
would be great
I have couple of hosts - one master and two replicas. I want to pass string like `postgresql://host1:123,host2:456/somedb?target_session_attrs=read-write` to asyncpg, i understand correctly what it is not possible for now?...
`psql` can work with such kind of connect string `django ORM` also support such feature and `asyncpg` too In `sqlalchemy` you can also do such thing - by specifying your...
I found a way around - if i pass ``` from gino.ext.starlette import Gino from sqlalchemy.engine.url import URL db = Gino(dsn=URL( username='user', password='pass', host=['host1', 'host2'], port=1234 database='db', )) ``` it...
the only thing i dont figure out yet -how to pass option `target_session_attrs=read-write` in order to get master.
@aragentum I checked code inside `set_bind` and it looks like asyncpg ignore `target_session_attrs` in get parameters - it parse only following https://github.com/MagicStack/asyncpg/blob/1d9457f0b44d58f5537b011725916301a573afe7/asyncpg/connect_utils.py#L251
Добрый! вот так можно получить ``` for queue in client.queues: workflows = queue.perform_action('workflows', method='get') for i in workflows: print(i) ```