From d136368f91be261420a4baf6ff8866f2f16fd43b Mon Sep 17 00:00:00 2001 From: Richard Date: Thu, 22 Aug 2024 17:05:33 -0700 Subject: [PATCH 1/2] Add MESOP_STATE_SESSION_BACKEND_SQL_CONNECTION_URI to config docs. --- docs/api/config.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/api/config.md b/docs/api/config.md index e0bf32e3c..069fb4315 100644 --- a/docs/api/config.md +++ b/docs/api/config.md @@ -166,6 +166,13 @@ parameter specifies which Firestore collection that Mesop will write state sessi **Default:** `mesop_state_sessions` +### MESOP_STATE_SESSION_BACKEND_SQL_CONNECTION_URI + +This is only used when the `MESOP_STATE_SESSION_BACKEND` is set to `sql`. This +parameter specifies how the connection string to connect to the SQL database. See the [SqlAlchemy docs for more details](https://docs.sqlalchemy.org/en/20/core/engines.html#database-urls). + +**Default:** `mesop_state_session` + ### MESOP_STATE_SESSION_BACKEND_SQL_TABLE This is only used when the `MESOP_STATE_SESSION_BACKEND` is set to `sql`. This From 293c81777c51708b7ba2369ecc123da6fc23592a Mon Sep 17 00:00:00 2001 From: Richard Date: Thu, 22 Aug 2024 17:07:49 -0700 Subject: [PATCH 2/2] Fix typo --- docs/api/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/config.md b/docs/api/config.md index 069fb4315..c818dda2f 100644 --- a/docs/api/config.md +++ b/docs/api/config.md @@ -169,7 +169,7 @@ parameter specifies which Firestore collection that Mesop will write state sessi ### MESOP_STATE_SESSION_BACKEND_SQL_CONNECTION_URI This is only used when the `MESOP_STATE_SESSION_BACKEND` is set to `sql`. This -parameter specifies how the connection string to connect to the SQL database. See the [SqlAlchemy docs for more details](https://docs.sqlalchemy.org/en/20/core/engines.html#database-urls). +parameter specifies the database connection string. See the [SqlAlchemy docs for more details](https://docs.sqlalchemy.org/en/20/core/engines.html#database-urls). **Default:** `mesop_state_session`