From 255ec6147001371a5dc7db1c66fbd5b6635113fb Mon Sep 17 00:00:00 2001 From: Jan Sikorski <132985823+sfc-gh-jsikorski@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:41:17 +0100 Subject: [PATCH] Update src/snowflake/cli/_plugins/streamlit/streamlit_entity.py Co-authored-by: Patryk Czajka --- src/snowflake/cli/_plugins/streamlit/streamlit_entity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snowflake/cli/_plugins/streamlit/streamlit_entity.py b/src/snowflake/cli/_plugins/streamlit/streamlit_entity.py index 8f4e32fcc1..de5c0c4634 100644 --- a/src/snowflake/cli/_plugins/streamlit/streamlit_entity.py +++ b/src/snowflake/cli/_plugins/streamlit/streamlit_entity.py @@ -94,4 +94,4 @@ def action_get_execute_sql(self, action_ctx: ActionContext, *args, **kwargs): def get_share_sql( self, action_ctx: ActionContext, to_role: str, *args, **kwargs ) -> str: - return f"GRANT USAGE ON STREAMLIT {{self._entity_model.fqn}} to role {to_role}" + return f"GRANT USAGE ON STREAMLIT {{self._entity_model.fqn}} TO ROLE {to_role}"