https://dagster.io/ logo
#integration-snowflake
Title
# integration-snowflake
s

Stephen Bailey

04/21/2023, 1:06 PM
Is there a way I can use the dagster_snowflake resource with the new Python resources api? This is what I would like to do:
Copy code
from dagster import asset
from dagster_snowflake import SnowflakeResource

@asset
def my_snowflake_thing(snowflake: SnowflakeResource):
    results = snowflake.execute_query("select 1 as foo")
    results_as_df = snowflake.execute_query("select 2 as bar", as_df=True)

    # do things
j

jamie

04/21/2023, 3:13 PM
an updated SnowflakeResource will be part of next week’s release! it didn’t quite make it in for 1.3
🙌 1
s

Stephen Bailey

04/21/2023, 5:40 PM
Woop woop!
11 Views