MCPcopy Index your code
hub / github.com/marimo-team/marimo / test_with_schema

Method test_with_schema

tests/_ast/test_sql_visitor.py:532–534  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

530 assert find_sql_refs(sql) == {SQLRef(table="prompts")}
531
532 def test_with_schema(self) -> None:
533 sql = "SELECT * FROM schema1.table1;"
534 assert find_sql_refs(sql) == {SQLRef(table="table1", schema="schema1")}
535
536 def test_with_catalog(self) -> None:
537 sql = "SELECT * FROM catalog1.schema1.table1;"

Callers

nothing calls this directly

Calls 2

find_sql_refsFunction · 0.90
SQLRefClass · 0.90

Tested by

no test coverage detected