Clayton Casey
07/28/2023, 9:44 PMrex
07/28/2023, 9:46 PMClayton Casey
07/28/2023, 9:49 PMDaniel Gafni
07/28/2023, 10:21 PMZach
07/28/2023, 10:41 PMZach
07/28/2023, 10:42 PMDaniel Gafni
07/29/2023, 5:58 AMClayton Casey
08/04/2023, 9:43 PM@asset(
required_resource_keys={"sql", "queries"}
)
def member_scores(context) -> pd.DataFrame:
cnxn = context.resources.sql['sql']
ForkedPdb().set_trace()
cnxn.connect()
score_sql = context.resources.queries['person_scores']
df = cnxn.query(score_sql)
cnxn.close()
return df
I run dagster dev in my code location and when I try to materialize in the dagit UI, the code just fails. How exactly do I get into debugging mode?
Here's the example from the docs.