ipython-sql icon indicating copy to clipboard operation
ipython-sql copied to clipboard

Suppress message "Returning data to local variable"

Open ellipticview opened this issue 2 years ago • 3 comments

Example:

In:

%%sql result <<
select col_name
from table_name

Out:

Returning data to local variable result

I don't want this message to clutter my output for the document I am producing. It would be useful to have a setting to suppress this message.

Current workaround for this issue (needs to be applied for each cell):

%%capture
%%sql result <<
select col_name
from table_name

ellipticview avatar Mar 18 '22 06:03 ellipticview

@ellipticview @charlie-sanders @laowantong @N-Wouda We just pushed a fix which will be available in the next Jupysql release! Jupysql is a fork that we're trying to maintain to keep the support/bug fixes/feature requests going for the community.

idomic avatar Dec 22 '22 15:12 idomic

Just released a version with the fix!

idomic avatar Dec 23 '22 21:12 idomic

Rock on! @max-sixty This will help the jupyter prql integrations

qharlie avatar Dec 23 '22 22:12 qharlie