Some checks failed
CI / skinny-install (aco) (push) Successful in 52s
CI / skinny-install (api) (push) Successful in 31s
CI / skinny-install (bcda) (push) Successful in 27s
CI / skinny-install (bib) (push) Successful in 27s
CI / skinny-install (bls) (push) Successful in 21s
CI / skinny-install (ccw) (push) Successful in 22s
CI / skinny-install (conf) (push) Successful in 25s
CI / skinny-install (cli) (push) Successful in 48s
CI / skinny-install (cms) (push) Successful in 25s
CI / skinny-install (pfs) (push) Successful in 24s
CI / skinny-install (rex) (push) Successful in 23s
CI / lint-test (push) Successful in 6m1s
Infra CI / notebooks (push) Successful in 6s
Infra CI / zotero (push) Successful in 6s
Infra CI / docs (push) Successful in 13s
Infra CI / api (push) Successful in 9s
Infra CI / mc (push) Successful in 6s
Package Supply Chain / pkg-supply-chain (push) Failing after 27s
Deploy / build-scan-report (push) Successful in 3m59s
Move marimo server config, snippets, and patched assets out of notebooks/ into infra/marimo/, keeping notebooks/ as pure .py content. - infra/marimo/marimo.toml: merged authoritative config (was split across .marimo.toml and .marimo-config/marimo.toml) - infra/marimo/snippets/: 10 code templates (was notebooks/snippets/) - infra/marimo/home-page-patched.js: custom home page (was in notebooks/) - Deleted duplicate loch.css (already served from assets/css/marimo.css) - Updated compose.yml volume mounts, Dockerfile, stack.toml path_filter - 18 layout tests enforce separation going forward Closes #214, closes #215, closes #216, closes #217, closes #218
35 lines
483 B
Python
35 lines
483 B
Python
import marimo
|
|
|
|
__generated_with = "0.20.4"
|
|
app = marimo.App()
|
|
|
|
|
|
@app.cell
|
|
def _(mo):
|
|
mo.md(r"""
|
|
# Trino: Connect via conf.connect
|
|
|
|
Connect to the Trino query engine for federated SQL queries.
|
|
""")
|
|
return
|
|
|
|
|
|
@app.cell
|
|
def _():
|
|
from conf import connect
|
|
|
|
trino_con = connect.trino()
|
|
cursor = trino_con.cursor()
|
|
return connect, cursor, trino_con
|
|
|
|
|
|
@app.cell
|
|
def _():
|
|
import marimo as mo
|
|
|
|
return (mo,)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app.run()
|