From ad7afbc5c5ad9ffabbc588f3a923e9aa6e05dbf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Pad=C5=82o?= Date: Thu, 12 Nov 2026 16:51:19 +0100 Subject: [PATCH] Fix setup commands in the Streamlit dynamic filters README - pip command was missing `install` - README used the `localstack` snow connection; the Makefile and the rest of the repo use `local` - root README sparse-checkout pulled `master`; the default branch is `main` Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- streamlit-snowpark-dynamic-filters/README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7c76e6e..02650e4 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ git init git remote add origin -f git@github.com:localstack-samples/localstack-snowflake-samples.git git config core.sparseCheckout true echo >> .git/info/sparse-checkout -git pull origin master +git pull origin main ``` The commands above use sparse checkout to pull only the sample you need. diff --git a/streamlit-snowpark-dynamic-filters/README.md b/streamlit-snowpark-dynamic-filters/README.md index df64c46..855056c 100644 --- a/streamlit-snowpark-dynamic-filters/README.md +++ b/streamlit-snowpark-dynamic-filters/README.md @@ -49,7 +49,7 @@ As an alternative to `poetry`, the project can also be set up via `pip`: 1. Create a python 3.8 virtual environment 2. Switch into the created virtual environment -3. Use provided `requirements.txt` to install the dependencies: `pip -r requirements.txt` +3. Use provided `requirements.txt` to install the dependencies: `pip install -r requirements.txt` ## Streamlit connection details @@ -91,9 +91,9 @@ The app connects on port 443, the connector default, so publish that port. The project comes with a [SQL sheet](./.assets/setup.sql) to be run in the environment. -For example, if you have the [`snow` CLI](https://snowflake.localstack.cloud/user-guide/integrations/snow-cli/) configured with a `localstack` connection profile, the SQL script can be executed as follows: +For example, if you have the [`snow` CLI](https://snowflake.localstack.cloud/user-guide/integrations/snow-cli/) configured with a `local` connection profile, the SQL script can be executed with `make init`, which runs: ``` -snow sql -c localstack -f .assets/setup.sql +snow sql -c local -f .assets/setup.sql ``` ## Running the app