Commit 54bc5e3
authored
deps: upgrade hotdata SDK to 0.2.5 and hotdata-runtime to 0.2.3 (#12)
* feat: add database= parameter to sql engine and editor for managed database scoping
Pass database= to client.execute_sql() so queries are scoped to a
managed database via the X-Database-Id header (hotdata-runtime>=0.2.1).
- HotdataMarimoEngine: add default_database= constructor param, pass to execute()
- SqlEditor: add database= constructor param, pass to both execute_sql calls
- ManagedDatabaseWriter: use description= kwarg matching ManagedDatabase v0.2.0 API
- Fix test_databases_marimo.py syntax error and update assertions
* refactor: eliminate flag-based side-effect tracking, fix unregister, remove dead code
- table_browser: extract _set_table_pick() replacing duplicate _init/_rebuild methods;
_sync_table_catalog returns bool so ui drops _rebuilt_table_pick_this_run flag;
standardize _active_connection_id to use 'or None' consistently
- sql_engine: unregister now restores original engine_to_data_source_connection and
resets sentinel so register/unregister/register round-trip works correctly
- sql_editor: remove dead 'or ""' on _cached_sql (already guarded by None check above)
- workspace_selector: cache HotdataClient, only reconstruct when workspace_id changes
* deps: bump hotdata lock to 0.2.4
* deps: also upgrade hotdata-runtime to 0.2.3 and SDK to 0.2.5
* fix: tighten hotdata-runtime floor constraint to >=0.2.3
---------
Co-authored-by: Eddie A Tejeda <669988+eddietejeda@users.noreply.github.com>1 parent abf9ec6 commit 54bc5e3
2 files changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments