Skip to content

featurebyte.SnowflakeDetails

class SnowflakeDetails(
*,
account: StrictStr,
warehouse: StrictStr,
database_name: StrictStr,
schema_name: StrictStr,
role_name: StrictStr="PUBLIC"
)

Description

Model for details used to connect to a Snowflake data source.

Parameters

  • account: StrictStr
    The host account name which can be found using one of the following formats:
    - For Amazon Web Services US West, use<account>.snowflakecomputing.com
    - For all other regions on Amazon Web Services, use <account>.<region>.snowflakecomputing.com
    - For all regions on Microsoft Azure, use <account>.<region>.azure.snowflakecomputing.com

  • warehouse: StrictStr
    The name of default warehouse to use for computation.

  • database_name: StrictStr
    The name of the database to use for creation of output tables.

  • schema_name: StrictStr
    The name of the schema to use for creation of output tables.

  • role_name: StrictStr
    default: "PUBLIC"
    The name of the role to use for creation of output tables.

Examples

>>> details= fb.SnowflakeDetails(
...   account="<account>",
...   warehouse="snowflake",
...   database_name="<database_name>",
...   schema_name="<schema_name>",
...   role_name="<role_name>",
... )