Skip to content

Provide option to open and close connection for every cell #1071

@mettekou

Description

@mettekou

@edublancas Aside from the default option of keeping an aliased database connection open as long as the Jupyter kernel process runs, provide a configuration option to automatically open the connection before every cell runs and close it after it has run. This is particularly useful when using DuckDB and connecting and writing to the same database from different Jupyter notebooks and therefore kernel processes at the same time, e.g. when writing a report using Jupyter Book.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions