Revision history  [back]

await expression in the debug shell

async def remove_author(id: UUID) -> Author:

             async with repository_factory() as repo:
    
                 obj = await repo.delete(id) #--step 

I use wing pro to debug a async function, when I in the break point, I cannot run "await repo.delete(id)" in the debug shell, it prompt me "'await' outside function: "

but pycharm can support await and get obj a user object correctly. Is wingware support await in shell? Or I miss some configs in the settings?

await expression in the debug shell

async def remove_author(id: UUID) -> Author:

             async with repository_factory() as repo:
    
                 obj = await repo.delete(id) #--step 

I use wing pro to debug a async function, when I in the break point, I cannot run "await repo.delete(id)" in the debug shell, it prompt me "'await' outside function: "

but pycharm can support await and get obj a user object correctly. Is wingware support await in shell? Or I miss some configs in the settings?

await expression in the debug shell

async def remove_author(id: UUID) -> Author:

             async with repository_factory() as repo:
    
                 obj = await repo.delete(id) #--step 

I use wing pro to debug a async function, when I in the break point, I cannot run "await repo.delete(id)" in the debug shell, it prompt me "'await' outside function: "

but pycharm can support await and get obj a user object correctly. Is wingware support await in shell? Or I miss some configs in the settings?

await expression in the debug shell

async def remove_author(id: UUID) -> Author:

             async with repository_factory() as repo:
    
    
             obj = await repo.delete(id) #--step 

I use wing pro to debug a async function, when I in the break point, I cannot run "await repo.delete(id)" in the debug shell, it prompt me "'await' outside function: "

but pycharm can support await and get obj a user object correctly. Is wingware support await in shell? Or I miss some configs in the settings?

await expression in the debug shell

async def remove_author(id: UUID) -> Author:Author: async with repository_factory() as repo: obj = await repo.delete(id) #--step

         async with repository_factory() as repo:

             obj = await repo.delete(id) #--step 

I use wing pro to debug a async function, when I in the break point, I cannot run "await repo.delete(id)" in the debug shell, it prompt me "'await' outside function: "

but pycharm can support await and get obj a user object correctly. Is wingware support await in shell? Or I miss some configs in the settings?

await expression in the debug shell

async def remove_author(id: UUID) -> Author: async with repository_factory() as repo: obj = await repo.delete(id) #--step

I use wing pro to debug a async function, when I in the break point, I cannot run "await repo.delete(id)" in the debug shell, it prompt me "'await' outside function: "

but pycharm can support await and get obj a user object correctly. Is wingware support await in shell? Or I miss some configs in the settings?

await expression in the debug shell

async def remove_author(id: UUID) -> Author: async with repository_factory() as repo: obj = await repo.delete(id) #--step

I use wing pro to debug a async function, when I in the break point, I cannot run "await repo.delete(id)" in the debug shell, it prompt me "'await' outside function: "

but pycharm can support await and get obj a user object correctly. Is wingware support await in shell? Or I miss some configs in the settings?

await expression in the debug shell

async def remove_author(id: UUID) -> Author: async with repository_factory() as repo: obj = await repo.delete(id) #--step

I use wing pro to debug a async function, when I in the break point, I cannot run "await repo.delete(id)" in the debug shell, it prompt me "'await' outside function: "

but pycharm can support await and get obj a user object correctly. Is wingware support await in shell? Or I miss some configs in the settings?

await expression in the debug shell

async def remove_author(id: UUID) -> Author: async with repository_factory() as repo: obj = await repo.delete(id) #--step

I use wing pro to debug a async function, when I in the break point, I cannot run "await repo.delete(id)" in the debug shell, it prompt me "'await' outside function: "

but pycharm can support await and get obj a user object correctly. Is wingware support await in shell? Or I miss some configs in the settings?