kedro.framework.hooks.specs.KedroContext规范

class kedro.framework.hooks.specs.KedroContextSpecs[source]

定义Kedro上下文生命周期钩子所有规范的命名空间。

方法

after_context_created(context)

KedroContext创建后需要调用的钩子函数。

after_context_created(context)[source]

KedroContext创建后需要调用的钩子函数。这是Kedro运行过程中最早触发的钩子。KedroContext存储了诸如credentialsconfig_loaderenv等有用信息。

Parameters:

上下文 (KedroContext) – 已创建的上下文。

Return type:

None