Skip to content

Missing import 'connect' from 'snowflake.connector' in shared_utils.py #228

Description

@Johannisbaer

When attempting to use .env with externalbrowser authentication for credentials in semantic-model-generator-main/app_utils/shared_utils.py, an error occurs due to a missing import statement for connect from snowflake.connector.

To Reproduce:

  • Configure .env with externalbrowser connection details.
  • Observe the ImportError related to connect in the terminal.

Proposed Fix -> Update Line 15 in shared_utils.py:
from snowflake.connector import ProgrammingError, connect

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions