From 2007ff0f85d2cb7d1579a1a3b6646273eed11332 Mon Sep 17 00:00:00 2001 From: Will Eaton Date: Wed, 31 Jan 2024 12:29:22 -0500 Subject: [PATCH] update docstring --- src/lib.rs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 6ad4166..7df3a5e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,20 +17,7 @@ use visitor::{extract_expressions, extract_relations, mutate_expressions, mutate /// Function to parse SQL statements from a string. Returns a list with /// one item per query statement. /// -/// Available `dialects`: -/// - generic -/// - ansi -/// - duckdb -/// - hive -/// - ms (mssql) -/// - mysql -/// - postgres -/// - snowflake -/// - sqlite -/// - clickhouse -/// - redshift -/// - bigquery (bq) -/// +/// Available `dialects`: https://github.com/sqlparser-rs/sqlparser-rs/blob/main/src/dialect/mod.rs#L189-L206 #[pyfunction] #[pyo3(text_signature = "(sql, dialect)")] fn parse_sql(py: Python, sql: &str, dialect: &str) -> PyResult {