Skip to content

Commit 73e717e

Browse files
authored
line len fix
1 parent 18d7d60 commit 73e717e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

asyncpg/pool.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,9 @@ def create_pool(dsn=None, *,
802802
async with asyncpg.create_pool(user='postgres',
803803
command_timeout=60) as pool:
804804
async with pool.acquire() as con:
805-
await con.execute('CREATE TABLE names (id serial PRIMARY KEY, name VARCHAR (255) NOT NULL)')
805+
await con.execute('CREATE TABLE \
806+
names (id serial PRIMARY KEY, \
807+
name VARCHAR (255) NOT NULL)')
806808
await con.fetch('SELECT 1')
807809
808810
Or directly with ``await`` (not recommended):

0 commit comments

Comments
 (0)