Re: about client-side cursors

Поиск
Список
Период
Сортировка
От Denis Laxalde
Тема Re: about client-side cursors
Дата
Msg-id 921417ec-6fc6-a622-b47f-fd5edccfd9c1@dalibo.com
обсуждение исходный текст
Ответ на Re: about client-side cursors  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
Daniele Varrazzo a écrit :
> So, in the server-side branch, I've made the function non-async on
> AsyncConnection too. This makes also context manager better to use, as
> now you can do:
> 
>      async with aconn.cursor() as cur:
>          # use it
> 
> whereas previously it would have taken an `async with await aconn.cursor()`.
> 
> I assume the change is welcome, but please let me know if this is not the case.

Yes, that change is welcome. Thanks!



В списке psycopg по дате отправления:

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: about client-side cursors
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Psycopg 2.9 released