Files
bisheng/docker
GuoQing Zhang 00d23dadb1 fix(dm): support specifying schema via ?schema= query string
DaMeng selects the active schema through the dmPython 'schema' connect
kwarg (default = login user). SQLAlchemy maps a URL path (/SCHEMA) to the
'database' kwarg, which dmPython rejects, so the old code stripped the path
for the sync engine only -- making sync (login user) and async (path schema)
diverge.

Replace _dm_sync_url with _normalize_dm_url: at construction, move any
path- or query-specified schema into ?schema= and clear the path, so the
sync (dmPython) and async (dmAsync) engines share one normalized URL and
resolve to the same schema. Explicit ?schema= wins over the path.

Verified live (sync+async) against DM and with unit tests. Documented the
?schema= convention in deployment docs and the config template.
2026-06-16 19:30:44 +08:00
..
2024-03-01 18:28:41 +08:00
2026-05-08 19:40:28 +08:00
2026-05-16 16:56:30 +08:00
2023-11-01 22:30:37 +08:00
2026-04-03 16:03:25 +08:00
2025-09-17 00:39:24 +08:00
2025-05-20 10:52:54 +08:00