Oleg Korsak

Results 80 comments of Oleg Korsak

Yep, +1 for Qt. Btw I'm not familiar with the codebase well. Is there a more or less separation between UI and actual functionality? It would be nice to have...

Same with Docker Desktop for Windows. It seems docker-compose doesn't respect the insecure-registries setting and has no option to force it...

FYI: https://github.com/SeleniumHQ/selenium/issues/7848

> What database backend are you using? For asyncpg, I'm doing it with the `init` callback (https://magicstack.github.io/asyncpg/current/api/index.html#connection-pools) which you can pass in `Database` class kwargs. > > ```python > async...

but it doesn't help. Still fails with: Object of type datetime is not JSON serializable Model: ```python class Sample(Base): __tablename__ = 'samples' samp_id = Column(BIGINT, primary_key=True) data = Column(JSONB(astext_type=sa.Text())) ```...

> > but it doesn't help. Still fails with: Object of type datetime is not JSON serializable > > @kamikaze have you figured it out? If not, could you share...

following doesn't help as well ```python async def asyncpg_init(connection: asyncpg.Connection) -> None: await connection.set_type_codec('jsonb', encoder=partial(json.dumps, cls=CustomJSONEncoder), decoder=json.loads, schema='pg_catalog') database = databases.Database(settings.db_dsn, init=asyncpg_init) ```

also it seems it doesn't call this function when I'm trying to debug