airflow.providers.papermill.hooks.kernel¶
Attributes¶
Classes¶
| Class to represent kernel connection object. | |
| The KernelHook can be used to interact with remote jupyter kernel. | |
| Jupyter kernel manager that connects to a remote kernel. | |
| Papermill engine to use  | 
Functions¶
| Register  | 
Module Contents¶
- class airflow.providers.papermill.hooks.kernel.KernelConnection[source]¶
- Class to represent kernel connection object. 
- class airflow.providers.papermill.hooks.kernel.KernelHook(kernel_conn_id=default_conn_name, *args, **kwargs)[source]¶
- Bases: - airflow.hooks.base.BaseHook- The KernelHook can be used to interact with remote jupyter kernel. - Takes kernel host/ip from connection and refers to jupyter kernel ports and session_key
- from - extrafield.
 - Parameters:
- kernel_conn_id (str) – connection that has kernel host/ip 
 
- airflow.providers.papermill.hooks.kernel.register_remote_kernel_engine()[source]¶
- Register - RemoteKernelEnginepapermill engine.
- class airflow.providers.papermill.hooks.kernel.RemoteKernelManager(*args, **kwargs)[source]¶
- Bases: - jupyter_client.AsyncKernelManager- Jupyter kernel manager that connects to a remote kernel.