aio-libs / aiopg

aiopg is a library for accessing a PostgreSQL database from the asyncio
http://aiopg.readthedocs.io
BSD 2-Clause "Simplified" License
1.39k stars 159 forks source link

Actualise examples #864

Closed Pliner closed 3 years ago

Pliner commented 3 years ago

What do these changes do?

  1. loop.run_until_complete(go()) -> asyncio.run(go())
  2. Do not acquire a connection from the pool for listener.

Are there changes in behavior for the user?

Related issue number

Checklist

codecov[bot] commented 3 years ago

Codecov Report

Merging #864 (f45e152) into master (76ca15f) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #864   +/-   ##
=======================================
  Coverage   93.43%   93.43%           
=======================================
  Files          11       11           
  Lines        1568     1568           
  Branches      186      186           
=======================================
  Hits         1465     1465           
  Misses         72       72           
  Partials       31       31           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 76ca15f...f45e152. Read the comment docs.