Skip to content

Commit

Permalink
Update src/snowflake/cli/_plugins/streamlit/streamlit_entity.py
Browse files Browse the repository at this point in the history
Co-authored-by: Patryk Czajka <patryk.czajka@snowflake.com>
  • Loading branch information
sfc-gh-jsikorski and sfc-gh-pczajka authored Dec 11, 2024
1 parent 87f4a0c commit 255ec61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snowflake/cli/_plugins/streamlit/streamlit_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit 255ec61

Please sign in to comment.