SYMBOL INDEX (175 symbols across 12 files) FILE: docs/conf.py function setup (line 189) | def setup(app): FILE: nbclient/cli.py class NbClientApp (line 48) | class NbClientApp(JupyterApp): method _log_level_default (line 135) | def _log_level_default(self) -> int: method initialize (line 139) | def initialize(self, argv: list[str] | None = None) -> None: method get_notebooks (line 163) | def get_notebooks(self) -> list[str]: method run_notebook (line 175) | def run_notebook(self, notebook_path: str) -> None: FILE: nbclient/client.py function timestamp (line 40) | def timestamp(msg: dict[str, t.Any] | None = None) -> str: class NotebookClient (line 60) | class NotebookClient(LoggingConfigurable): method _kernel_manager_class_default (line 388) | def _kernel_manager_class_default(self) -> type[KernelManager]: method __init__ (line 445) | def __init__(self, nb: NotebookNode, km: KernelManager | None = None, ... method reset_execution_trackers (line 470) | def reset_execution_trackers(self) -> None: method create_kernel_manager (line 483) | def create_kernel_manager(self) -> KernelManager: method _async_cleanup_kernel (line 503) | async def _async_cleanup_kernel(self) -> None: method async_start_new_kernel (line 524) | async def async_start_new_kernel(self, **kwargs: t.Any) -> None: method async_start_new_kernel_client (line 554) | async def async_start_new_kernel_client(self) -> KernelClient: method setup_kernel (line 582) | def setup_kernel(self, **kwargs: t.Any) -> t.Generator[None, None, None]: method async_setup_kernel (line 612) | async def async_setup_kernel(self, **kwargs: t.Any) -> t.AsyncGenerato... method async_execute (line 669) | async def async_execute(self, reset_kc: bool = False, **kwargs: t.Any)... method set_widgets_metadata (line 718) | def set_widgets_metadata(self) -> None: method _update_display_id (line 739) | def _update_display_id(self, display_id: str, msg: dict[str, t.Any]) -... method _async_poll_for_reply (line 761) | async def _async_poll_for_reply( method _async_poll_output_msg (line 808) | async def _async_poll_output_msg( method _async_poll_kernel_alive (line 821) | async def _async_poll_kernel_alive(self) -> None: method _get_timeout (line 831) | def _get_timeout(self, cell: NotebookNode | None) -> int | None: method _async_handle_timeout (line 842) | async def _async_handle_timeout( method _async_check_alive (line 860) | async def _async_check_alive(self) -> None: method async_wait_for_reply (line 866) | async def async_wait_for_reply( method _passed_deadline (line 894) | def _passed_deadline(self, deadline: int | None) -> bool: method _check_raise_for_error (line 899) | async def _check_raise_for_error( method async_execute_cell (line 920) | async def async_execute_cell( method process_message (line 1069) | def process_message( method output (line 1138) | def output( method clear_output (line 1182) | def clear_output( method clear_display_id_mapping (line 1204) | def clear_display_id_mapping(self, cell_index: int) -> None: method handle_comm_msg (line 1210) | def handle_comm_msg( method _serialize_widget_state (line 1245) | def _serialize_widget_state(self, state: dict[str, t.Any]) -> dict[str... method _get_buffer_data (line 1254) | def _get_buffer_data(self, msg: dict[str, t.Any]) -> list[dict[str, st... method register_output_hook (line 1268) | def register_output_hook(self, msg_id: str, hook: OutputWidget) -> None: method remove_output_hook (line 1277) | def remove_output_hook(self, msg_id: str, hook: OutputWidget) -> None: method on_comm_open_jupyter_widget (line 1284) | def on_comm_open_jupyter_widget(self, msg: dict[str, t.Any]) -> t.Any ... function execute (line 1298) | def execute( FILE: nbclient/exceptions.py class CellControlSignal (line 9) | class CellControlSignal(Exception): # noqa class CellTimeoutError (line 19) | class CellTimeoutError(TimeoutError, CellControlSignal): method error_from_timeout_and_cell (line 25) | def error_from_timeout_and_cell( class DeadKernelError (line 41) | class DeadKernelError(RuntimeError): class CellExecutionComplete (line 47) | class CellExecutionComplete(CellControlSignal): class CellExecutionError (line 58) | class CellExecutionError(CellControlSignal): method __init__ (line 66) | def __init__(self, traceback: str, ename: str, evalue: str) -> None: method __reduce__ (line 73) | def __reduce__(self) -> tuple[Any]: method __str__ (line 77) | def __str__(self) -> str: method from_cell_and_msg (line 85) | def from_cell_and_msg(cls, cell: NotebookNode, msg: dict[str, Any]) ->... FILE: nbclient/jsonutil.py function encode_images (line 50) | def encode_images(format_dict: dict[str, str]) -> dict[str, str]: function json_clean (line 73) | def json_clean(obj: Any) -> Any: FILE: nbclient/output_widget.py class OutputWidget (line 13) | class OutputWidget: method __init__ (line 16) | def __init__( method clear_output (line 28) | def clear_output(self, outs: list[NotebookNode], msg: dict[str, Any], ... method sync_state (line 42) | def sync_state(self) -> None: method _publish_msg (line 48) | def _publish_msg( method send (line 65) | def send( method output (line 74) | def output( method set_state (line 102) | def set_state(self, state: dict[str, Any]) -> None: method handle_msg (line 113) | def handle_msg(self, msg: dict[str, Any]) -> None: FILE: nbclient/util.py function run_hook (line 16) | async def run_hook(hook: Callable[..., Any] | None, **kwargs: Any) -> None: FILE: tests/base.py class NBClientTestsBase (line 8) | class NBClientTestsBase(unittest.TestCase): method build_notebook (line 9) | def build_notebook(self, with_json_outputs=False): method build_resources (line 41) | def build_resources(self): method merge_dicts (line 46) | def merge_dicts(cls, *dict_args): FILE: tests/fake_kernelmanager.py class FakeCustomKernelManager (line 6) | class FakeCustomKernelManager(AsyncKernelManager): method __init__ (line 9) | def __init__(self, *args, **kwargs): method start_kernel (line 14) | async def start_kernel(self, *args, **kwargs): method client (line 19) | def client(self, *args, **kwargs): FILE: tests/test_cli.py function jupyterapp (line 19) | def jupyterapp(): function client (line 25) | def client(): function writer (line 31) | def writer(): function reader (line 37) | def reader(): function path_open (line 43) | def path_open(): function test_mult (line 58) | def test_mult(input_names, relative, inplace, jupyterapp, client, reader... function test_output (line 103) | def test_output(input_names, relative, output_base, jupyterapp, client, ... function test_bad_output_dir (line 156) | def test_bad_output_dir(jupyterapp, client, reader, writer, path_open): function test_cli_simple (line 173) | def test_cli_simple(): function test_no_notebooks (line 180) | def test_no_notebooks(jupyterapp): FILE: tests/test_client.py function get_executor_with_hooks (line 66) | def get_executor_with_hooks(nb=None, executor=None, async_hooks=False): class AsyncMock (line 92) | class AsyncMock(Mock): function make_future (line 96) | def make_future(obj: Any) -> asyncio.Future[Any]: function normalize_base64 (line 107) | def normalize_base64(b64_text): function run_notebook (line 116) | def run_notebook(filename, opts, resources=None): function run_notebook_wrapper (line 144) | def run_notebook_wrapper(args): function async_run_notebook (line 150) | async def async_run_notebook(filename, opts, resources=None): function prepare_cell_mocks (line 175) | def prepare_cell_mocks(*messages_input, reply_msg=None): function normalize_output (line 252) | def normalize_output(output): function assert_notebooks_equal (line 281) | def assert_notebooks_equal(expected, actual): function notebook_resources (line 302) | def notebook_resources(): function filter_messages_on_error_output (line 310) | def filter_messages_on_error_output(err_output): function test_run_all_notebooks (line 350) | def test_run_all_notebooks(input_name, opts): function test_parallel_notebooks (line 358) | def test_parallel_notebooks(capfd, tmpdir): function test_many_parallel_notebooks (line 385) | def test_many_parallel_notebooks(capfd): function test_async_parallel_notebooks (line 412) | def test_async_parallel_notebooks(capfd, tmpdir): function test_many_async_parallel_notebooks (line 439) | def test_many_async_parallel_notebooks(capfd): function test_execution_timing (line 464) | def test_execution_timing(): function test_synchronous_setup_kernel (line 494) | def test_synchronous_setup_kernel(): function test_startnewkernel_with_kernelmanager (line 504) | def test_startnewkernel_with_kernelmanager(): function test_start_new_kernel_history_file_setting (line 519) | def test_start_new_kernel_history_file_setting(): function test_start_new_kernel_client_cleans_up_kernel_on_failure (line 542) | def test_start_new_kernel_client_cleans_up_kernel_on_failure(): class TestExecute (line 574) | class TestExecute(NBClientTestsBase): method test_constructor (line 579) | def test_constructor(self): method test_populate_language_info (line 582) | def test_populate_language_info(self): method test_empty_path (line 588) | def test_empty_path(self): method test_empty_kernel_name (line 600) | def test_empty_kernel_name(self): method test_disable_stdin (line 613) | def test_disable_stdin(self): method test_timeout (line 634) | def test_timeout(self): method test_timeout_func (line 653) | def test_timeout_func(self): method test_sync_kernel_manager (line 665) | def test_sync_kernel_manager(self): method test_kernel_death_after_timeout (line 677) | def test_kernel_death_after_timeout(self): method test_kernel_death_during_execution (line 701) | def test_kernel_death_during_execution(self): method test_allow_errors (line 714) | def test_allow_errors(self): method test_force_raise_errors (line 731) | def test_force_raise_errors(self): method test_reset_kernel_client (line 759) | def test_reset_kernel_client(self): method test_cleanup_kernel_client (line 784) | def test_cleanup_kernel_client(self): method test_custom_kernel_manager (line 804) | def test_custom_kernel_manager(self): method test_process_message_wrapper (line 833) | def test_process_message_wrapper(self): method test_execute_function (line 855) | def test_execute_function(self): method test_widgets (line 866) | def test_widgets(self): method test_execution_hook (line 893) | def test_execution_hook(self): method test_error_execution_hook_error (line 908) | def test_error_execution_hook_error(self): method test_error_notebook_hook (line 924) | def test_error_notebook_hook(self): method test_async_execution_hook (line 940) | def test_async_execution_hook(self): method test_error_async_execution_hook (line 955) | def test_error_async_execution_hook(self): class TestRunCell (line 972) | class TestRunCell(NBClientTestsBase): method test_idle_message (line 976) | def test_idle_message(self, executor, cell_mock, message_mock): method test_message_for_wrong_parent (line 991) | def test_message_for_wrong_parent(self, executor, cell_mock, message_m... method test_busy_message (line 1005) | def test_busy_message(self, executor, cell_mock, message_mock): method test_deadline_exec_reply (line 1024) | def test_deadline_exec_reply(self, executor, cell_mock, message_mock): method test_deadline_iopub (line 1047) | def test_deadline_iopub(self, executor, cell_mock, message_mock): method test_eventual_deadline_iopub (line 1067) | def test_eventual_deadline_iopub(self, executor, cell_mock, message_mo... method test_execute_input_message (line 1096) | def test_execute_input_message(self, executor, cell_mock, message_mock): method test_stream_messages (line 1115) | def test_stream_messages(self, executor, cell_mock, message_mock): method test_clear_output_message (line 1136) | def test_clear_output_message(self, executor, cell_mock, message_mock): method test_clear_output_wait_message (line 1155) | def test_clear_output_wait_message(self, executor, cell_mock, message_... method test_clear_output_wait_then_message_message (line 1181) | def test_clear_output_wait_then_message_message(self, executor, cell_m... method test_clear_output_wait_then_update_display_message (line 1207) | def test_clear_output_wait_then_update_display_message(self, executor,... method test_execution_count_message (line 1223) | def test_execution_count_message(self, executor, cell_mock, message_mo... method test_execution_count_message_ignored_on_override (line 1238) | def test_execution_count_message_ignored_on_override(self, executor, c... method test_execution_count_with_stream_message (line 1253) | def test_execution_count_with_stream_message(self, executor, cell_mock... method test_widget_comm_message (line 1268) | def test_widget_comm_message(self, executor, cell_mock, message_mock): method test_widget_comm_buffer_message_single (line 1289) | def test_widget_comm_buffer_message_single(self, executor, cell_mock, ... method test_widget_comm_buffer_messages (line 1320) | def test_widget_comm_buffer_messages(self, executor, cell_mock, messag... method test_unknown_comm_message (line 1345) | def test_unknown_comm_message(self, executor, cell_mock, message_mock): method test_execute_result_message (line 1366) | def test_execute_result_message(self, executor, cell_mock, message_mock): method test_execute_result_with_display_message (line 1395) | def test_execute_result_with_display_message(self, executor, cell_mock... method test_display_data_without_id_message (line 1418) | def test_display_data_without_id_message(self, executor, cell_mock, me... method test_display_data_message (line 1444) | def test_display_data_message(self, executor, cell_mock, message_mock): method test_display_data_same_id_message (line 1487) | def test_display_data_same_id_message(self, executor, cell_mock, messa... method test_update_display_data_without_id_message (line 1518) | def test_update_display_data_without_id_message(self, executor, cell_m... method test_update_display_data_mismatch_id_message (line 1547) | def test_update_display_data_mismatch_id_message(self, executor, cell_... method test_update_display_data_message (line 1581) | def test_update_display_data_message(self, executor, cell_mock, messag... method test_error_message (line 1602) | def test_error_message(self, executor, cell_mock, message_mock): method test_error_and_error_status_messages (line 1624) | def test_error_and_error_status_messages(self, executor, cell_mock, me... method test_error_message_only (line 1648) | def test_error_message_only(self, executor, cell_mock, message_mock): method test_allow_errors (line 1667) | def test_allow_errors(self, executor, cell_mock, message_mock): method test_allow_error_names (line 1685) | def test_allow_error_names(self, executor, cell_mock, message_mock): method test_raises_exception_tag (line 1703) | def test_raises_exception_tag(self, executor, cell_mock, message_mock): method test_non_code_cell (line 1721) | def test_non_code_cell(self, executor, cell_mock, message_mock): method test_no_source (line 1739) | def test_no_source(self, executor, cell_mock, message_mock): method test_cell_hooks (line 1756) | def test_cell_hooks(self, executor, cell_mock, message_mock): method test_error_cell_hooks (line 1783) | def test_error_cell_hooks(self, executor, cell_mock, message_mock): method test_non_code_cell_hooks (line 1808) | def test_non_code_cell_hooks(self, executor, cell_mock, message_mock): method test_async_cell_hooks (line 1822) | def test_async_cell_hooks(self, executor, cell_mock, message_mock): method test_error_async_cell_hooks (line 1849) | def test_error_async_cell_hooks(self, executor, cell_mock, message_mock): method test_coalesce_streams (line 1888) | def test_coalesce_streams(self, executor, cell_mock, message_mock): FILE: tests/test_util.py function some_async_function (line 13) | async def some_async_function(): function test_nested_asyncio_with_existing_ioloop (line 18) | def test_nested_asyncio_with_existing_ioloop(): function test_nested_asyncio_with_no_ioloop (line 29) | def test_nested_asyncio_with_no_ioloop(): function test_nested_asyncio_with_tornado (line 34) | def test_nested_asyncio_with_tornado(): function test_run_hook_sync (line 59) | async def test_run_hook_sync(): function test_run_hook_async (line 66) | async def test_run_hook_async():