From ff5b5bb8ee32f8d9658375438992904da9dc3582 Mon Sep 17 00:00:00 2001 From: Jan Sikorski Date: Wed, 18 Sep 2024 14:48:10 +0200 Subject: [PATCH] Fix --- .../cli/api/project/schemas/entities/streamlit_entity_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snowflake/cli/api/project/schemas/entities/streamlit_entity_model.py b/src/snowflake/cli/api/project/schemas/entities/streamlit_entity_model.py index d0dbf6f2ef..daeef31ccc 100644 --- a/src/snowflake/cli/api/project/schemas/entities/streamlit_entity_model.py +++ b/src/snowflake/cli/api/project/schemas/entities/streamlit_entity_model.py @@ -66,7 +66,7 @@ def artifacts_must_exists(self): for artifact in self.artifacts: - if artifact.is_file() and not artifact.exists(): + if "*" not in artifact.name and not artifact.exists(): raise ValueError( f"Specified artifact {artifact} does not exist locally." )