Artur Dobrogowski
05/23/2024, 4:05 PM_create_custom_hook_manager()
is called, upon which I call .register(MyHook())
, and then try to run some pipeline with:
SequentialRunner(is_async=True).run(model_pipeline, catalog, hook_manager)
However it does not work, the hook does not get called. Any ideas what am I missing?Artur Dobrogowski
05/23/2024, 4:09 PMArtur Dobrogowski
05/23/2024, 4:11 PMafter_node_run
where I assert False
to notice it being executed, but it's skippedNok Lam Chan
05/23/2024, 4:42 PMCustHook
?Artur Dobrogowski
05/23/2024, 4:43 PMArtur Dobrogowski
05/23/2024, 4:44 PMNok Lam Chan
05/23/2024, 4:50 PMhook_impl
Nok Lam Chan
05/23/2024, 4:52 PMArtur Dobrogowski
05/23/2024, 4:52 PMNok Lam Chan
05/23/2024, 4:52 PMNok Lam Chan
05/23/2024, 4:52 PMNok Lam Chan
05/23/2024, 4:54 PMNok Lam Chan
05/23/2024, 4:54 PMdatajoely
05/23/2024, 5:14 PMNok Lam Chan
05/23/2024, 5:23 PMdatajoely
05/23/2024, 5:24 PMdatajoely
05/23/2024, 5:24 PMArtur Dobrogowski
05/23/2024, 5:41 PMArtur Dobrogowski
05/23/2024, 5:42 PMafter_context_created
does not get called by class KedroContext
and I don't know what actually calls after_pipeline_run
hook - in my test I had to call those 2 manually to make the hook behave - is there a better way to use some kedro internal objects that do the hook calling for me?Nok Lam Chan
05/23/2024, 6:02 PM