handsome-city-1083
12/17/2024, 3:58 PM@step
def start(self):
from snowflake.connector import connect
# Setup connector once -> authenticate once
self.conn = connect(...)
@step
def query_data(self):
....
When trying something along the lines of what's above, I run into:
Which makes sense, but makes me wonder whether using a shared connector is even a good idea.Cannot pickle dump artifact named "snowflake_conn"
crooked-jordan-29960
12/17/2024, 4:10 PMhandsome-city-1083
12/17/2024, 4:12 PMcrooked-jordan-29960
12/17/2024, 4:21 PMhandsome-city-1083
12/17/2024, 4:27 PMsecure-local-storage
) for the snowflake connector installation:
snowflake-connector-python = {extras = ["pandas", "secure-local-storage"], version = "^3.12.4"}
handsome-city-1083
12/17/2024, 4:27 PM