From fdc1634b3f436bbee037bf705e4a5571c92ba5f0 Mon Sep 17 00:00:00 2001 From: Isaac Ireland Date: Tue, 12 Nov 2024 14:51:23 +0000 Subject: [PATCH] remove print statement --- .../retrievers/snowflake/snowflake_table_retriever.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/snowflake/src/haystack_integrations/components/retrievers/snowflake/snowflake_table_retriever.py b/integrations/snowflake/src/haystack_integrations/components/retrievers/snowflake/snowflake_table_retriever.py index 057502e0d..0d795240b 100644 --- a/integrations/snowflake/src/haystack_integrations/components/retrievers/snowflake/snowflake_table_retriever.py +++ b/integrations/snowflake/src/haystack_integrations/components/retrievers/snowflake/snowflake_table_retriever.py @@ -221,7 +221,7 @@ def _has_select_privilege(privileges: list, table_name: str) -> bool: :param privileges: List of privileges. :param table_name: Name of the table. """ - print(privileges) + for privilege in reversed(privileges): if table_name.lower() == privilege[3].lower() and re.match( pattern="select",