@@ -7,11 +7,11 @@ async def test_connection():
77 try :
88 # The file-like object is passed in as a keyword-only argument.
99 # See https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.connection.Connection.copy_from_query
10- await conn .copy_from_query ("sql" , output = "filepath" ) # $ getSql="sql" MISSING: getAPathArgument="filepath"
11- await conn .copy_from_query ("sql" , "arg1" , "arg2" , output = "filepath" ) # $ getSql="sql" MISSING: getAPathArgument="filepath"
10+ await conn .copy_from_query ("sql" , output = "filepath" ) # $ getSql="sql" getAPathArgument="filepath"
11+ await conn .copy_from_query ("sql" , "arg1" , "arg2" , output = "filepath" ) # $ getSql="sql" getAPathArgument="filepath"
1212
13- await conn .copy_from_table ("table" , output = "filepath" ) # $ MISSING: getAPathArgument="filepath"
14- await conn .copy_to_table ("table" , source = "filepath" ) # $ MISSING: getAPathArgument="filepath"
13+ await conn .copy_from_table ("table" , output = "filepath" ) # $ getAPathArgument="filepath"
14+ await conn .copy_to_table ("table" , source = "filepath" ) # $ getAPathArgument="filepath"
1515
1616 finally :
1717 await conn .close ()
@@ -20,10 +20,10 @@ async def test_connection_pool():
2020 pool = await asyncpg .create_pool ()
2121
2222 try :
23- await pool .copy_from_query ("sql" , output = "filepath" ) # $ getSql="sql" MISSING: getAPathArgument="filepath"
24- await pool .copy_from_query ("sql" , "arg1" , "arg2" , output = "filepath" ) # $ getSql="sql" MISSING: getAPathArgument="filepath"
25- await pool .copy_from_table ("table" , output = "filepath" ) # $ MISSING: getAPathArgument="filepath"
26- await pool .copy_to_table ("table" , source = "filepath" ) # $ MISSING: getAPathArgument="filepath"
23+ await pool .copy_from_query ("sql" , output = "filepath" ) # $ getSql="sql" getAPathArgument="filepath"
24+ await pool .copy_from_query ("sql" , "arg1" , "arg2" , output = "filepath" ) # $ getSql="sql" getAPathArgument="filepath"
25+ await pool .copy_from_table ("table" , output = "filepath" ) # $ getAPathArgument="filepath"
26+ await pool .copy_to_table ("table" , source = "filepath" ) # $ getAPathArgument="filepath"
2727
2828 finally :
2929 await pool .close ()
0 commit comments