https://prefect.io logo
Title
m

Muhammad Husnain

03/09/2023, 1:44 PM
Hey community, Is it possible to get the
prefect logger
inside a
task runner
? I'm using the
RayTaskRunner
and I've defined a custom class using the following
class AnyscaleTaskRunner(RayTaskRunner):
def __init__(self, **init_kwargs: Any):
    some code
with Prefect flows and I have some information that is only available within the
AnyscaleTaskRunner
class. Is there any way that I can access the prefect context or the prefect logger in the
AnyscaleTaskRunner
class that I created?