asynch
asynch copied to clipboard
An asyncio ClickHouse Python Driver with native (TCP) interface support.
I want to use asynch library with one of the latest Clickhouse versions **22.3.8.39**. Got exception ```bash File "/home/zexxonn/DEV/Quantor/momote/backend/app/context.py", line 81, in create_asynch_pool asynch_pool: "AsynchPool" = await asynch_pool_exit_stack.enter_async_context( File "/home/zexxonn/.pyenv/versions/3.9.12/lib/python3.9/contextlib.py",...
Hello! I have found myself in need of the maximal Decimal allowed by clickhouse which is Decimal(76, ..). Unfortunately, I have noticed that asynch supports only up to Decimal128. I...
1. Change fetchxx method to async method 2. Enable stream mode (Only support DML now)
I had to implement read_items/write_items given that this size of integers is not supported by Python's struct. Not sure it's ideal to have these new types transitively inherit from FormatColumn,...
`SimpleAggregateFunction(something, Tuple(String, String))` would trigger that bug as the `inner` variable would be `Tuple(String`. This fixes it by splitting only on the first comma that it encounters. I assume there...
There is no test for this and it fails with `ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)`
The cursor closes the connection incorrectly. I'm not sure it should do it at all. Code example: ```python logging.basicConfig(level=logging.DEBUG) pool = await asynch.create_pool(maxsize=1) async with pool.acquire() as conn: assert conn._is_closed...
Hi. I have this code. ```python from fastapi import FastAPI, HTTPException from pydantic import BaseModel from typing import Optional import sentry_sdk from sentry_sdk.integrations.asgi import SentryAsgiMiddleware import uuid from asynch.cursors import...
Hi, I'm installing asynch on my system but facing this below error I tried googling and checked stackoverflow can someone help with this? Using cached pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB) Collecting tzdata...
This error is weird. Sometimes I get `IndexError: bytearray index out of range` sometimes I don't. 