MCPcopy Create free account
hub / github.com/Mause/duckdb_engine / test_reflect

Function test_reflect

duckdb_engine/tests/test_basic.py:333–338  ·  view source on GitHub ↗
(session: Session, engine: Engine)

Source from the content-addressed store, hash-verified

331
332
333def test_reflect(session: Session, engine: Engine) -> None:
334 session.execute(text("create table test (id int);"))
335 session.commit()
336
337 meta = MetaData()
338 meta.reflect(only=["test"], bind=engine)
339
340
341def test_get_multi_columns(engine: Engine) -> None:

Callers

nothing calls this directly

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected