Andrey T

Results 15 issues of Andrey T

``` ~ >>> curl -i http://httpbin.org/headers -H 'x-request-id: avadakedavra' HTTP/1.1 200 OK Date: Thu, 25 Feb 2021 08:52:35 GMT Content-Type: application/json Content-Length: 173 Connection: keep-alive Server: gunicorn/19.9.0 Access-Control-Allow-Origin: * Access-Control-Allow-Credentials:...

This PR adds the ability to configure `@retry` based on the attributes of a class instance Simplified use case: ```py class Service: def __init__(self, tries): self.tries = tries @retry( retry=retry_if_exception_type(IOError),...

The main problem is that not all Pg types supports binary format, because it optional. But Diesel uses only binary format. [docs for CREATE TYPE](https://www.postgresql.org/docs/11/sql-createtype.html) > Similarly, the optional send_function...

enhancement

Is it possible to express this kind of lambda? `lambda a, b: a * b` I intuitively tried this approach, but it doesn't work... `_._1 * _._2`

For example, developer make typo in `Provide[...]`: container.py ```python class ApplicationContainer(containers.DeclarativeContainer): some_service = providers.Singleton(object) ``` app.py ```python # FastAPI @app.get("/") @inject async def some_handler(service = Depends(Provide["sOme_service"])): # suppose there is...

feature

It would be useful to be able to cast env variables to a specific type, for example: ```python def setup_config(config: Configuration): config.foo.from_env("VAR_FOO", cast=int, default=1) config.bar.from_env("VAR_BAR", cast=bool, default=True) ``` Inspired by...

feature

For example: ``` > pipenv shell virtualenv> python first_script.py virtualenv> python second_script.py ```

**Describe the bug** - `limit` in params lead to ServerException. - using `limit2` instead of `limit` eliminates the exception ``` from clickhouse_driver import Client client = Client("localhost") client.execute("SELECT 1 LIMIT...

https://tectonic-typesetting.github.io/en-US/index.html