hide custom modules syntax behind --experimental-custom-modules flag

This commit is contained in:
Nikita Sivukhin
2025-10-27 12:29:05 +04:00
parent 67e62fd6ea
commit 299533b7b6
8 changed files with 121 additions and 41 deletions

View File

@@ -317,7 +317,7 @@ impl Drop for Connection {
#[allow(clippy::arc_with_non_send_sync)]
#[pyfunction(signature = (path))]
pub fn connect(path: &str) -> Result<Connection> {
match turso_core::Connection::from_uri(path, true, false, false, false, false) {
match turso_core::Connection::from_uri(path, true, false, false, false, false, false) {
Ok((io, conn)) => Ok(Connection { conn, _io: io }),
Err(e) => Err(PyErr::new::<ProgrammingError, _>(format!(
"Failed to create connection: {e:?}"