Ivan Tsarev
06/11/2023, 12:28 AMInitResourceContext
into ConfigurableResource
subclass? I found ConfigurableResourceFactory
should have create_resource()
method with context arg where I can get logger from, but it is kinda unclear for me how to do it with "plain" ConfigurableResource
.owen
06/12/2023, 5:47 PMfrom dagster import get_dagster_logger
should let you get access to a logger that will work similarly to context.log
(get_dagster_logger().info("hi")
)schrockn
06/12/2023, 6:58 PMget_resource_context
is available as a method of ConfigurableResourceFactory