Adam Bloom
10/31/2022, 2:58 PMcontext.resources
, context.op_config
, etc? I have no idea if this is at all feasible (likely not), but currently all type information is lost on these objects. Just had a silly typo on a function within a custom resource - would have been much easier to catch (or not have in the first place) if auto-suggest from VS Code was functioning correctly.Zach P
10/31/2022, 4:53 PMclass MyRequiredResourceDefs(RequiredResources):
snowflake : SnowflakeResource
aws_parameter_resource: AwsParamResource
@asset(required_resources=MyRequiredResourceDefs)
def my_asset():
...
would be a very nice pattern to have. IMO.sean
10/31/2022, 8:42 PMOpExecutionContext
Dagster Bot
10/31/2022, 8:42 PMDagster Jarred
11/01/2022, 4:22 PM